Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Camel REST + Swagger

$
0
0
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:
https://github.com/apache/camel/tree/master/examples/camel-example-servlet-rest-tomcat
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

Viewing all articles
Browse latest Browse all 5648

Trending Articles