Just to clarify, I could use swagger with cxf, but not cxfrs and camel? Is there no work around using the cxf with swagger examples to let swagger know about the route url by assignment as in the example below ( so far as I tried this, trouble of this nature: Caused by: java.lang.ClassCastException: org.apache.cxf.jaxrs.model.wadl.WadlGenerator cannot be cast to javax.ws.rs.container.ContainerRequestFilter )
(using this from your link http://cxf.apache.org/docs/swagger2feature.html) import org.apache.cxf.frontend.ServerFactoryBean; import org.apache.cxf.jaxrs.swagger.Swagger2Feature; ... Swagger2Feature feature = new Swagger2Feature(); // customize some of the properties feature.setBasePath("/api"); // add this feature to the endpoint (e.g., to ServerFactoryBean's features) ServerFactoryBean sfb = new ServerFactoryBean(); sfb.getFeatures().add(feature); -- View this message in context: http://camel.465427.n5.nabble.com/cxfrs-swagger-tp5777892p5777938.html Sent from the Camel - Users mailing list archive at Nabble.com.