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

disable online validator System API swagger-ui by default

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.0, 3.8.0
    • Fix Version/s: 3.10.0
    • Component/s: UI
    • Labels:

      Description

      Customers run Nexus behind firewalls and load the API swagger-ui from within Nexus.

      Or customer is accessing Nexus on an internal domain name not resolvable externally.

      At the bottom of the API page can be rendered the following scary looking icon due to the failed attempt to send an outbound request to an online JSON validator.

      We should avoid performing this online validation by default as it may lead to believing a critical feature is broken, when it is not - and there will be nothing the end user can do about fixing it.

      https://online.swagger.io/validator?url=https%3A%2F%2Fwww.example.com%2Fswagger-ui%2F..%2Fservice%2Frest%2Fswagger.json

       

      See validatorUrl parameter at https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mpiggott Matthew Piggott
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Peter Lynch
              Team:
              Nexus - UX
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title