Re: Limit swagger API

2016-04-05 Thread fabryprog
Done https://issues.apache.org/jira/browse/CAMEL-9817 -- View this message in context: http://camel.465427.n5.nabble.com/Limit-swagger-API-tp5778791p5780491.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Limit swagger API

2016-03-14 Thread camel_case
I have to show an OPTIONS route using rest dsl, which naturally shows up on the api swagger ui. The OPTIONS is the preflight for a POST. I don't know how to hide, if no other way, this would be most welcome. We use routes and annotations, and servlets, and no xml (no web.xml or other). -- Vie

Re: Limit swagger API

2016-03-09 Thread fabrizio.spataro
-- View this message in context: http://camel.465427.n5.nabble.com/Limit-swagger-API-tp5778791p5778804.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Limit swagger API

2016-03-09 Thread Claus Ibsen
Yeah that sounds like good use-cases. Welcome to log a JIRA On Wed, Mar 9, 2016 at 4:07 PM, Matt Sicker wrote: > Unreleased APIs, internal APIs, backwards compatibility APIs, maybe a > couple other use cases. > > On 9 March 2016 at 08:58, Claus Ibsen wrote: > >> Whats the use-case for this? >>

Re: Limit swagger API

2016-03-09 Thread Matt Sicker
Unreleased APIs, internal APIs, backwards compatibility APIs, maybe a couple other use cases. On 9 March 2016 at 08:58, Claus Ibsen wrote: > Whats the use-case for this? > > > > On Wed, Mar 9, 2016 at 3:46 PM, fabrizio.spataro > wrote: > > Hello, > > > > To hide part of my API documentation, It

Re: Limit swagger API

2016-03-09 Thread Claus Ibsen
Whats the use-case for this? On Wed, Mar 9, 2016 at 3:46 PM, fabrizio.spataro 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: > > > off > > > > >