openapi2jsonschema icon indicating copy to clipboard operation
openapi2jsonschema copied to clipboard

Only works with /components/schemas

Open bj-mcduck opened this issue 4 years ago • 0 comments

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?

bj-mcduck avatar Jun 17 '20 20:06 bj-mcduck