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
@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.
exactly what i needed
thanks @ikitommi!