swagger-api / swagger-api/swagger-ui
Parameter with Enum as well manual enter
Open
Nobody has claimed this yet.
cat: specification
cat: try-it-out
type: enhancement
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Hi,
The enum parameter is a great feature. I have a requirement where user can select from enum or he can enter the value he want. This is useful when the value is not available in the enum set.
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
No files or tests are named. Start by locating how Swagger UI renders parameters with enum values and review the existing parameter input behavior; determine how selection and manual entry should coexist. Done means users can choose an enum value or enter a value outside the enum set without breaking existing parameter handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, openapi
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100