openapi2jsonschema
openapi2jsonschema copied to clipboard
Only works with /components/schemas
I'm using Stoplight to edit my openapi spec and that allows me to have separate files for my models. When I use their tool to download it as a combined spec the references end up getting put in the first request that asks for it and then every spot afterward references that.
When using openapi2jsonschema
it fails and is unable to process because none of the models are in the /components/schemas
location.
Not sure if there'd be some way of making that configurable or something?