Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support format oas3 in addition to oas3.1? #76

Open
DawMatt opened this issue Feb 23, 2024 · 0 comments
Open

Support format oas3 in addition to oas3.1? #76

DawMatt opened this issue Feb 23, 2024 · 0 comments

Comments

@DawMatt
Copy link

DawMatt commented Feb 23, 2024

The current ruleset includes support for format oas3.1 but not oas3.

A superficial check of the changes ( https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0 ) and the ruleset indicates it doesn't make use of any OAS 3.1 specific features. In particular:

  • the changes to the content definitions for requestBody do not appear to be relevant to the defined aliases
  • given ... then statements within rules also don't appear to rely upon OAS 3.1 specific changes

Can we please add oas3 to the supported formats list? i.e.

formats:
  - oas3.1
  - oas3

I've already changed this in a local copy of the ruleset and it appears to be working OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant