Closed ehmicky closed 6 years ago
type: "null" is valid both in JSON schema v4 and in OpenAPI 2.0.
type: "null"
type: "null" is not valid as it's not explicitly mentioned in the schema. It's a bit misleading.
Yes that's true. The current behavior of this library to convert nullable is actually what's expected according to OpenAPI 3.
nullable
type: "null"
is valid both in JSON schema v4 and in OpenAPI 2.0.