-
Notifications
You must be signed in to change notification settings - Fork 44
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
OpenAPI v3: Support for nullable fields #106
Comments
This whole issue is very depressing to me. Do you know why they don't encourage |
According to OAI/OpenAPI-Specification#229 (comment) they overlooked the fact that JSON Schema allows In v2 See also: |
That's so sad 😥I was hoping there was a better reason, but I couldn't find one. |
Seems like there's an implementation more or less ready at jhthorsen/json-validator#146 |
Hi, In order to implement the |
- Fix HEAD requests #105 - Fix using /servers/0/url as basePath for OpenAPI v3 #110 Note: This could be breaking change - Fix getting basePath when using under #107 - Add support for "nullable" in OpenAPI 3.0 #106 - Improved handling of Accept header in OpenAPI v3 #104 Can now handle wildcards, such as application/* and */*, even though not defined in the specification. - Bump JSON::Validator to 3.06
OpenAPI v3 features a new option to declare fields as nullable.
Reference: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#fixed-fields-20
This doesn't appear to work yet.
The text was updated successfully, but these errors were encountered: