[REQUIREMENT] can we sort API version list in swagger-ui, set latest version as default
Open
Nobody has claimed this yet.
area/java-service
kind/feature
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 4
Description
Is your feature request related to a problem? Please describe.
When people go to swagger ui page, default API version list is 'v1' which is not latest version.
Describe the solution you'd like
Set latest version as default, and when click drop down list, sort from big version to small version.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Swagger UI page and inspect how the API-version dropdown is populated and how its initial selection is chosen. Done means the newest version is selected by default and the dropdown lists versions from newest to oldest; verify both behaviors in the UI.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100