Skip to content

Support OpenAPI 3.1 #101

Open
Open
@Jean85

Description

@Jean85

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions