Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1603

Sort endpoints listing alphabetically by uriTemplate

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 3.1.1.Final, 3.0.21.Final
    • 3.1.0.Final
    • None
    • None

    Description

      The endpoint at .../resteasy/registry lists the endpoints.
      These are now sorted randomly.
      For better orientation when using during development, it would be nice if this was sorted by uriTemplate.

      <resource uriTemplate="/configuration">
          <put class="org.jboss.windup.web.services.rest.ConfigurationEndpoint" method="saveConfiguration" invocations="0">
              <produces>application/json</produces>
              <consumes>application/json</consumes>
          </put>
          <get class="org.jboss.windup.web.services.rest.ConfigurationEndpoint" method="getConfiguration" invocations="0">
              <produces>application/json</produces>
              <consumes>application/json</consumes>
          </get>
      </resource>
      

      https://github.com/resteasy/Resteasy/blob/master/providers/jaxb/src/main/java/org/jboss/resteasy/plugins/stats/RegistryStatsResource.java
      https://github.com/resteasy/Resteasy/blob/master/providers/jaxb/src/main/java/org/jboss/resteasy/plugins/stats/RegistryData.java

      Attachments

        Activity

          People

            ozizka_jira Ondrej Zizka (Inactive)
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: