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

SwaggerUIResourceFilter doesn't allow call to service endpoint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.14, 3.2.1
    • 3.2.2, 3.1.15
    • None
    • Unknown

    Description

      I'm using CXF 3.2.0 with Swagger UI webjar 3.5.0 and Spring Boot 1.5.8.

      In the process of rewriting an api and trying to be backwards compatible with the existing one. There's one endpoint "/images/

      {imageId}

      " that I'd like to support. Unfortunately the SwaggerUIResourceFilter class specifically has a pattern that includes "/images". Is there way to either customize the pattern or have that class take into consideration the entire path (i.e. if the call is "/services/images" vs if the call is "/api-docs/images")?

      Attachments

        Activity

          People

            reta Andriy Redko
            mmccaskill Michael McCaskill
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: