Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## unreleased

- feat: improve CLI playground URL handling
- Overlay: add OpenAPI Overlay 1.1.0 support
- Overlay: add `copy` action support with strict `from` validation
- Overlay: enforce strict action validation and type compatibility for update/copy actions
- CLI: improve CLI playground URL handling
- Types: extend overlay typings with `copy`, `from`, and overlay metadata fields
- Docs: update overlay examples and guidance to 1.1.0

## [1.29.5] - 2026-02-28

Expand Down Expand Up @@ -433,4 +438,4 @@ Initial commit with features
- Format via CLI
- Format via config files
- Use via as Module
- Support for OpenAPI 3.0
- Support for OpenAPI 3.0
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ async function run(oaFile, options) {
const cliOut = [];
cliLog.unusedActions.forEach(action => {
cliOut.push(
`- Target: ${action.target}\n Type: ${action.update ? 'update' : action.remove ? 'remove' : 'unknown'}`
`- Target: ${action.target}\n Type: ${action.update ? 'update' : action.remove ? 'remove' : action.copy ? 'copy' : 'unknown'}`
);
});

Expand Down
6 changes: 3 additions & 3 deletions bin/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,10 @@ describe('openapi-format CLI command', () => {
const setting = `${path}/customFilter.yaml`;
const args = [inputFile, `--filterFile ${setting}`, `--playground`];

console.log('playground request args:', args);
// console.log('playground request args:', args);
let result = await testUtils.cli(args, '.');
console.log('playground response stdout:', result.stdout);
console.log('playground response stderr:', result.stderr);
// console.log('playground response stdout:', result.stdout);
// console.log('playground response stderr:', result.stderr);
expect(result.code).toBe(0);
if (process.env.CI) {
expect(result.stderr).toContain('Running in CI/CD environment, no Share URL generated');
Expand Down
Loading
Loading