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 OpenAPI 3.1 #101

Open
Jean85 opened this issue Feb 18, 2021 · 2 comments
Open

Support OpenAPI 3.1 #101

Jean85 opened this issue Feb 18, 2021 · 2 comments
Milestone

Comments

@Jean85
Copy link

Jean85 commented Feb 18, 2021

OpenAPI 3.1 has just been released... Can we hope for support in this library?

Changes in the spec seems really small, but there are some small BCs that could complicate the stuff further: https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0

Main differences:

  • no more nullable
-type: string
-nullable: true
+type:
+ - "string"
+ - "null" 
  • exclusiveMinimum and exclusiveMaximum are used directly
-minimum: 7
-exclusiveMinimum: true
+exclusiveMinimum: 7
  • examples, no more example
-example: fedora
+examples:
+ - fedora
  • Describing File Upload Payloads
  • declaring JSON Schema dialect explicitly
@cebe cebe added this to the 1.6.0 milestone Feb 24, 2021
@WyriHaximus
Copy link

Just opened #117 that adds the low level schema validation, already have code lined up to take care of the no more nullable as well, plus #114 for webhooks as well. But both depends on #117 to kick this all off

@Jean85
Copy link
Author

Jean85 commented Sep 16, 2021

Any news here? How can we help to push this forward?

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

No branches or pull requests

3 participants