mikunn / openapi-schema-to-json-schema

Converts OpenAPI Schema Object to JSON Schema
76 stars 6 forks source link

Add option to retain fields that are not supported by JSON Schema #1

Closed mikunn closed 6 years ago

mikunn commented 6 years ago

nullable, discriminator, readOnly, writeOnly, xml, externalDocs, example and deprecated are removed from the result schema by default. Add an option to retain them field by field basis.