wework / speccy

Well Spectually 🤓 Enforce quality rules on your OpenAPI 3.0.x specifications.
http://speccy.io
MIT License
825 stars 78 forks source link

reused json schema is only converted once #496

Open rubenVerschueren opened 1 year ago

rubenVerschueren commented 1 year ago

I have modeled my error responses with the same error schema: image image

The output only converts the first time it encounters the json schema and leaves the others are references. I want them all to be converted so I have a single clean file with no (or only internal) references. image

Did I make a mistake in my setup of can I modify this in the settings somehow?

As a side note I initially had written the error schema as an open-api spec myself, but that also leads to just $ref links in the output: schema: $ref: '../schemas/error/error.yml'