mikunn / openapi-schema-to-json-schema

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

Add an option to not include `$schema` property #10

Open mikunn opened 6 years ago

mikunn commented 6 years ago

By default the schema declaration property $schema is added to the result object. Add an option to not include this to allow the result to be more easily used as a sub-schema.

invalidred commented 5 years ago

I agree this is something that I would like to have as well.