thim81 / thim81/openapi-format
ConvertTo: downgrade 3.1 to 3.0
Open
@thim81 is already working on this.
Since Jul 31, 2023.
bug
enhancement
- Dominant language
- JavaScript
- Stars
- 177
- Forks
- 29
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 1
Description
Hi! I tries to use this package to downgrade a 3.1 spec file to a 3.0 one. That result in success, but the file is still in 3.1.
I doing something wrong or this is not supported?
npx openapi-format openapi.yaml -o openapi3.json --convertTo "3"
==============================================================================
OpenAPI-Format CLI settings:
- Sort file: (defaultSort.json)
- Input file: openapi.yaml
- Output file: openapi3.json
==============================================================================
✅ OpenAPI formatted successfully
==============================================================================
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.