nijikokun / generate-schema

🧞 Convert JSON Objects to MySQL, JSON Schema, Mongoose, Google BigQuery, Swagger, and more.
MIT License
1.03k stars 135 forks source link

AdditionalProperties are missing and how to add enum properties? #31

Closed GomesL closed 7 years ago

GomesL commented 7 years ago

I am trying to create json schema for an array of object. I need to include enum property which contains some enum values used for array creation. And need to add " 'additionalProperties':false " also in generated schema.

GomesL commented 7 years ago

Gone through previous issues. This can be ignored.