Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Conversation

@kylef
Copy link
Member

@kylef kylef commented Feb 22, 2021

In OpenAPI 3.1, null is permitted in type. This causes the behaviour when you have a schema without a type restriction to allow null. This wasn't the case in OpenAPI 3.0 or older, because these version removes null from JSON Schema's type system.

@kylef kylef added the openapi3 label Feb 22, 2021
@kylef kylef requested a review from opichals February 22, 2021 19:31
Copy link
Contributor

@opichals opichals left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kylef kylef merged commit 6bb1b2d into master Feb 23, 2021
@kylef kylef deleted the kylef/type-array branch February 23, 2021 10:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants