Fork me on GitHub
#ring-swagger
<
2017-12-24
>
wontheone116:12:30

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

wontheone116:12:09

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!

wontheone117:12:02

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 "/"

wontheone117:12:46

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