camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Camel REST + Swagger [configuration]
Date Thu, 18 Dec 2014 06:17:06 GMT

Currently only spring is supported out of the box. You would need to
implement a custom code to lookup the camel contexts from cdi

eg something like this but for cdi

We love contributions so if you get something working you are welcome
to contribute back

On Wed, Dec 17, 2014 at 8:20 PM, cristianmiranda <> wrote:
> Hi guys,
> I'm new to swagger and I want to configure it in my *CDI* application (no
> Spring at all).
> I'm following the pet shop example and this specific one:
> just changing from *SpringRestSwaggerApiDeclarationServlet* to
> *ServletListenerRestSwaggerApiDeclarationServlet*
> The rest of the configuration is exactly the same but I can't make it work
> yet. When requesting localhost:8080/api-docs it just doesn't display
> anything (no errors).
> Is there any extra configuration that it's required by using
> ServletListenerRestSwaggerApiDeclarationServlet?
> Any ideas?
> Thanks in advance
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message