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

OAS v3.1 schema removes nullable and uses array for type #612

Closed
MikeEdgar opened this issue May 1, 2023 · 0 comments · Fixed by #613
Closed

OAS v3.1 schema removes nullable and uses array for type #612

MikeEdgar opened this issue May 1, 2023 · 0 comments · Fixed by #613

Comments

@MikeEdgar
Copy link
Contributor

Source: [1]

# OpenAPI v3.0
type: string
nullable: true
# OpenAPI v3.1
type:
- "string"
- "null" 

[1] https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0

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 a pull request may close this issue.

1 participant