Fork me on GitHub
#ring-swagger
<
2020-03-26
>
nickmbailey15:03:47

anyone have any pointers on an easy way to write out the swagger.json result for a compojure-api project? i'm trying to generate it as a build artifact

ikitommi17:03:45

@nickmbailey you should check out https://github.com/metosin/compojure-api/blob/master/src/compojure/api/validator.clj. It shows how to pull out the swagger endpoint for an api. Can easily be written to file from there. cheers.

nickmbailey18:03:45

exactly what i needed