instrumenta / openapi2jsonschema

Convert OpenAPI definitions into JSON schemas for all types in the API
Other
226 stars 87 forks source link

Retain types from OpenAPI definitions #10

Closed Sharpie closed 6 years ago

Sharpie commented 6 years ago

This commit behavior that forced the type of each definition to object and retains the original type in the specification. This allows API definitions that have types such as array to be converted correctly.