vmware / vmware/singleton

[REQUIREMENT] can we sort API version list in swagger-ui, set latest version as default

Open
#330 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.