Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-693

Arrange resources alphanumerically in Swagger-Ui

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 2.22.0
    • None

    Description

      Currently the order of the tags in Swagger API documentation are determined by Swagger-UI itself.

      To sort them alphanumerically, we can pass `tagsSorter` config param (with value `alpha`) as an argument to SwaggerUIBundle

      SwaggerUIBundle({
          tagsSorter: 'alpha'
      })
      

      Refer to:
      swagger-ui/blob/master/docs/usage/configuration.md

      What to do:

      Simply add tagSorter param as an argument to SwaggerUIBundle in here.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                tomekdo3 Tomasz Domagała
                gayanw Gayan W.
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 1 minute
                    1m
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 minute
                    1m