Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-13948

/swagger-ui prompts to save a useless file instead of redirecting to something useful

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.5.0
    • Fix Version/s: None
    • Component/s: REST
    • Labels:
    • Story Points:
      1

      Description

      Load this in a browser:

      http://localhost:8081/swagger-ui

      You are prompted to save a file. Saving this file on a local machine takes about 15 seconds. When it is done, all this file contains is this text:

      css
      fonts
      images
      index.html
      lang
      lib
      o2c.html
      swagger-ui.min.js
      
      

      Expected

      redirect to proper swagger-ui url of http://localhost:8081/swagger-ui/#/ and load that instead.

      Users are not going to anticipate /swagger-ui/#/ and are going to frequently type /swagger-ui and expect something more useful to happen. When it doesn't, they will file support questions.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title