Hi
Freeman added org.apache.cxf.jaxrs.swagger.SwaggerFeature to the CXF
cxf-rt-rs-service-description module, you can register it as a CXFRS
feature. Perhaps it can help ?
Cheers, Sergey
On 17/10/14 10:18, atg roxx wrote:
Hi Team,
I am using camel 2.14 and I am trying to expose rest endpoint using CXFRS
and want to use swagger to expose the rest api.
I am able to expose my rest service using cxfrs as described here :
http://camel.apache.org/cxfrs.html
My application is not a web application, and I am using spring and spring
boot for my application.
So I dont have web.xml in my case.
Now for Integrating with Swagger, I looked at
http://camel.apache.org/swagger.html
but it uses web.xml for it.
Is there anyways we can do it without using web.xml.
I looked at the exmple "camel-example-servlet-rest-tomcat" (
http://camel.apache.org/examples.html) explaining swagger integration with
Camel, but here too web application is used for example i.e web.xml for
this integration.
Could anyone suggest how can we integrate swagger without use of web.xml
-Cheers,
atg roxx
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com