Hi folks, has anyone managed to generate Swagger 2 output for specs that places definitions in the :definition top level key, rather than in-lining them in the :parameters and :response keys inside :paths. It looks like https://github.com/metosin/ring-swagger#more-complete-example, but https://github.com/metosin/spec-tools/blob/master/docs/05_swagger.md#full-example https://github.com/metosin/spec-tools/blob/master/src/spec_tools/swagger/spec.cljc#L81.
Here's my https://github.com/metosin/spec-tools/pull/274. Let me know what you think.
Interested in PR to spec-tools to add support?