Hi, register a Swagger2Feature in cxfrs:rsServer/cxfrs:features

http://cxf.apache.org/docs/swagger2feature.html

You might need to configure it to run as a JAX-RS filter, it has a boolean property called 'runAsFilter', though not 100% sure if it will be needed, please experiment

Sergey

On 18/02/16 23:21, camel_case wrote:
I have swagger working with rest dsl, but cxfrs doesn't show.

This appears in the window:
fetching resource list: http://127.0.0.1:9090/api-docs; Please wait.

This appears in the console:
Uncaught TypeError: Cannot read property 'definitions' of null

Tried updating to camel version 2.16.1 and cxf 3.1.4 and had to change some
of the application initialization (meaning the friendly dummy and fake
example code needed tweeking since servletListener is gone, and thus use
DefaultSwaggerServlet)

Is it possible yet to get swagger going with camel cxfrs?  Is there an
example anywhere?  Are there specific versions of stuff to use, if you know?



--
View this message in context: 
http://camel.465427.n5.nabble.com/cxfrs-swagger-tp5777892.html
Sent from the Camel - Users mailing list archive at Nabble.com.



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to