Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Unknown
Description
to make RESTful service support swagger, we need some configuration like the change here[1], as most configuration here could be fixed, so if we can introduce a SwaggerFeature which just put all general default value so that we can enable swagger just by
<jaxrs:features>
<bean class="org.apache.cxf.jaxrs.swagger.SwaggerFeature"/>
</jaxrs:features>
[1]http://svn.apache.org/viewvc/servicemix/smx5/trunk/examples/cxf/cxf-jaxrs-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml?r1=1537442&r2=1537441&pathrev=1537442