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

feat: adding support for OpenAPI 3.1 #187

Merged
merged 9 commits into from
Oct 15, 2021

Conversation

erunion
Copy link
Contributor

@erunion erunion commented Oct 14, 2021

Building off of the work that @LoicBoursin started in #171 this also:

  • Replaces z-schema with Ajv because it fully supports 2020-12/Draft 7 out of the box.
    • Check out [this comment[(https://github.com/feat: support OpenAPI 3.1 #171#pullrequestreview-679813725) for some conversation about this.
    • Additionally, swapping for Ajv also fixed the x-properties issue that was called out here.
  • Updates the amount of real-world APIs that are being loaded from https://apis.guru to be tested against.
  • Fixes a handful of 3.1-related bugs and incompatibilities.
  • Cleans up the real-world definitions list to remove exclusions that no longer apply, add some new ones, and alphabetize the list so it's tidier.
  • Gets all tests passing.
  • I've also reverted the lockFileVersion: 2 change to package-lock.json in feat: support OpenAPI 3.1 #171 to make this overall diff a little cleaner.

All told with this work this library now fully supports OpenAPI 3.1.

@philsturgeon philsturgeon merged commit 538d4f4 into APIDevTools:main Oct 15, 2021
@philsturgeon
Copy link
Member

Thank you @erunion !

@crutch12
Copy link

crutch12 commented Feb 9, 2022

@philsturgeon are you going to release it? Last release was in August 2021

@simplesmiler
Copy link

Seems to have landed in 10.1.0.

@erunion erunion deleted the feat/support-oas-31 branch January 5, 2023 17:24
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

Successfully merging this pull request may close these issues.

6 participants