-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support "nullable" (OpenApi 3.0 only) #32
Comments
json_schemer is currently not a good place to impement something like that. require 'openapi-json-schema-converter'
OpenapiJsonSchemaConverter.new(openapi_json_schema).call(data) # => standard_json_schema |
I think supporting |
This should be obsolete with OAS 3.1, since nullable will be removed from OpenAPI 3.1 and type arrays will be valid |
Reopening, because I want to support OpenAPI 3.0.x |
Reopening, because current implementation does not work with |
@JF-Lalonde nullable has been removed from OAS since 3.1. Is updating your spec to 3.1 an option for you/your team? |
@ahx Good to know! We've actually adopted the |
FYI this will be solved in 1.0, because json_schemer supports it with it's OpenAPI 3.0 / 3.1 metaschema |
Currently OpenapiFirst does not support "nullable" of the OpenApi flavoured JSON Schema.
See davishmcclurg/json_schemer#22The text was updated successfully, but these errors were encountered: