Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CXF REST APIs Documentation using Swagger

According to Swagger's tutorial, seems swagger only support Jersey framework (See https://github.com/wordnik/swagger-core/wiki/java-jax-rs)

Does anybody have experience on making swagger work with CXF JAX-RS implementation? Could you share your suggestions here?

like image 550
Dylan Avatar asked Sep 18 '12 06:09

Dylan


1 Answers

Yes, it is possible to use Swagger with CXF JAX-RS implementation using swagger-jaxrs_2.10 module.

Using Swagger in CXF environment require some specific configuration that can be done via Spring application context.

Here is a good tutorial and example of such configuration.

like image 76
Konstantin V. Salikhov Avatar answered Nov 17 '22 02:11

Konstantin V. Salikhov