Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5379

introduce cxf swagger feature

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-milestone1, 2.7.8
    • 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

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: