thim81 / thim81/openapi-format

ConvertTo: downgrade 3.1 to 3.0

Open
#83 3 comments 1 reaction 1 assignee View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.