Thanks for you quick response, Claus. I was afraid of that. I'll look into
the apiDocs=false option. Another solution would of course be to have to
separate servlets and thereby two seperate Swagger servlets, but I'm not
yet sure if that's worth the effort ;)

Kind regards,

Jonas

Op di 22 nov. 2016 om 13:25 schreef Claus Ibsen <claus.ib...@gmail.com>:

> No you cannot have two versions.
>
> But I think there was a way to set that an api was internal using the
> swagger api to set apiDocs=false on the verbs you dont want
>
> On Tue, Nov 22, 2016 at 1:03 PM, Jonas Koperdraat
> <jo...@jonaskoperdraat.nl> wrote:
> > Hi,
> >
> > We have multiple REST API's documented with camel-swagger-servlet.
> > These API's have some endpoints that are meant to be public and some
> > that are meant to be private (or internal). Is it possible to filter
> > the private endpoints from the Swagger documentation? And if so, is it
> > possible to have two versions of the swagger drocumentation; one with
> > all the API endpoints, and one with the private endpoints filtered?
> >
> > Kind reagrds,
> >
> > Jonas
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Reply via email to