Fork me on GitHub

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


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!


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


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