openapi2jsonschema
openapi2jsonschema copied to clipboard
Add support for nullable OpenAPI fields
If nullable attribute of a field in OpenAPI spec is set, add 'null' to the list of types in JSON schema (and turn type into list if it's a primitive type)
I'm collecting fixes in https://github.com/larsks/openapi2jsonschema. I've merged this patch into that repository.