swagger-api / swagger-api/swagger-ui
Add placeholder to @Parameter
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
@Parameter(
name = "clientId",
description = "Client code",
required = false,
in = ParameterIn.QUERY,
placeholder = "1"
)
Example: placeholder = "1"
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
The issue names no repository files or tests. Start by tracing how @Parameter metadata becomes an OpenAPI parameter and how parameter fields are rendered in Swagger UI; confirm the expected placeholder behavior and target project before implementation. Done means the placeholder is represented and displayed consistently, with coverage for the supported input path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, javascript, openapi
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100