Fork me on GitHub
#ring-swagger
<
2018-11-29
>
shdzzl05:11:25

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?

ikitommi06:11:16

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

ikitommi06:11:33

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.

shdzzl23:11:45

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