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).



--
View this message in context: 
http://camel.465427.n5.nabble.com/Limit-swagger-API-tp5778791p5779056.html
Sent from the Camel - Users mailing list archive at Nabble.com.


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 <boa...@gmail.com> wrote:
> Unreleased APIs, internal APIs, backwards compatibility APIs, maybe a
> couple other use cases.
>
> On 9 March 2016 at 08:58, Claus Ibsen <claus.ib...@gmail.com> wrote:
>
>> Whats the use-case for this?
>>
>>
>>
>> On Wed, Mar 9, 2016 at 3:46 PM, fabrizio.spataro
>> <fabrizio.spat...@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:
>> >
>> > 
>> > off
>> > 
>> >
>> >    
>> >
>> > 
>> > 
>> >
>> > 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
>>
>
>
>
> --
> Matt Sicker <boa...@gmail.com>



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


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 <claus.ib...@gmail.com> wrote:

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



-- 
Matt Sicker <boa...@gmail.com>


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
<fabrizio.spat...@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:
>
> 
> off
> 
>
>
>
> 
> 
>
> 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


Limit swagger API

2016-03-09 Thread fabrizio.spataro
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

   
   
   



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.