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

Swagger UI does not work for CXF-DOSGi mutli bundle distro

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Unknown

    Description

      In karaf the swagger UI works fine but not in the multi bundle distro.

      The bug is in org.apache.cxf.jaxrs.swagger.OsgiSwaggerUiResolver. There the swagger UI is detected. Unfortunately the detection is based on the bundle location and only works for maven uri based deployments. As the mutli bundle distro is deployed using files it fails.

      I will change the detection to scan for the swagger webbundle by detecting the signature resource /META-INF/resources/swagger-ui. This approach should make the detection more robust regarding different packagings and deployments.

      Attachments

        Issue Links

          Activity

            People

              sergey_beryozkin Sergey Beryozkin
              cschneider Christian Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: