ring-swagger

ring-swagger & compojure-api
shdzzl 2018-11-29T05:37:25.144300Z

Hi all, hoping someone might be able to help me out, as I have been unable to find this info in the docs. Is it possible to specify that a swagger definition should only be generated for a specific context or group of routes?

ikitommi 2018-11-29T06:57:16.146600Z

@shdzzl hi. You can mark routes with :no-doc true to dismiss them from the docs.

ikitommi 2018-11-29T06:57:33.147Z

There is no support for multiple routes at the moment, but as this works with the sister project (#reitit), it could be backported to c-api.

shdzzl 2018-11-29T23:30:45.148Z

@ikitommi Thanks! That's a super helpful answer.