0 Replies Latest reply on Apr 24, 2013 4:42 AM by Lekan Omotayo

    Swagger API Doc integration with Camel CXFRS

    Lekan Omotayo Expert

      Hi,

       

      I am trying to integrate the Swagger REST API doc library with camel cxfrs. I have my application developed already but I am trying to inject swagger's annotation into my resource so that it can be exposed.

       

      Typically it is done in a web.xml as shown here https://github.com/wordnik/swagger-core/tree/master/samples/java-jaxrs-cxf.

       

      However, I am not sure cxfrs reads from a web.xml as I have tried this

       

      webapp/WEB-INF/web.xml

       

      ...

       

       

      Just like JAXRSServerFactoryBean, I am hoping I can set the application for rsServer. Is that possible? If no, what are the alternatives?

       

      Any help will be appreciated.

       

      Regards.