camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Limit swagger API
Date Wed, 09 Mar 2016 14:58:03 GMT
Whats the use-case for this?



On Wed, Mar 9, 2016 at 3:46 PM, fabrizio.spataro
<fabrizio.spataro@bizmate.it> wrote:
> Hello,
>
> To hide part of my API documentation, It could be nice to have a swagger
> switch off mode.
>
> I am thinking the following code:
>
> <get uri="/user/{id}" produces="application/json">
>     <swagger>off</swagger>
>     <route>
>        ....
>        ....
>        ....
>     </route>
> </get>
>
> Best regards
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Limit-swagger-API-tp5778791.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message