Open jasonterando opened 3 years ago
Facing same issue, Please can someone update on if definitions keyword supported? @mikunn @philsturgeon
This version hasn't been supported in years, and the new version is not being actively developed as OpenAPI v3.1 is now proper JSON Schema. Yaaaaay.
Anyhow, let's keep the discussion going over here, maybe you could help with a PR? https://github.com/openapi-contrib/json-schema-to-openapi-schema/issues/25
Hi, does this routine support the definitions keyword as described in the JSON Schema documentation? Using json-schema-to-openapi-schema, converting a JSON Schema with a "definitions" property does not seem to handle nullable types properly (sending the individual interfaces to json-schema-to-openapi-schema works. Note that I am not using #refs.
Here is an example:
JSON Schema:
Results in OpenAPI JSON (note "null" types):
I was hoping to see something like this: