ring-swagger

ring-swagger & compojure-api
huima 2018-01-03T18:01:13.000160Z

Hopefully this is a proper place to ask. I was wondering whether anyone had already implemented how to save swagger.json as a static file from the code. I took a look at how compojure-api handles it, and if I understoof correctly at api-function routes / paths data is created and that then gets used with swagger-docs to generate the swagger data. Has anyone else needed this kind of feature anywhere and perhaps implemented it already?

valtteri 2018-01-03T19:15:27.000381Z

If you scroll up a bit (starting from December 26th) there’s discussion related to this which probably helps you forward.

wontheone1 2018-01-03T21:54:13.000159Z

If I understand correctly, now combination of cheshire/generate-string and maybe java io could do the job.