ring-swagger

ring-swagger & compojure-api
wontheone1 2017-12-24T16:51:30.000020Z

hi, is there a way to generate swagger.json file from ring-swagger? Like output json as a static asset and serve it?

wontheone1 2017-12-24T16:53:09.000065Z

Or do you use some kind of json generating library (cheshire) to manually generate json file and serve it as UI? what is the best way to generate swagger ui when using ring-swagger ? Helps are much appreciated! thanks! happy holidays!

wontheone1 2017-12-24T17:14:02.000051Z

At least I found that if I use composure-api, then I can just pass swagger schema as handler to jetty then the UI is served on :swagger {:ui "/"

wontheone1 2017-12-24T17:14:46.000005Z

that 's really good 🙂 but I would like to know if there is similar convenient way in ring-swagger as well