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

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • 3.5.0
    • REST
    • 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

              Unassigned Unassigned
              plynch Peter Lynch
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title