Fork me on GitHub
#clojure-spec
<
2023-03-31
>
Hugh Powell05:03:51

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.

ikitommi16:04:34

Interested in PR to spec-tools to add support?