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: camel-swagger-servlet
Date Tue, 22 Nov 2016 12:24:27 GMT
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
<jonas@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

Mime
View raw message