swagger-api / swagger-api/swagger-ui

Parameter with Enum as well manual enter

Open
#4,856 4 comments 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.