swagger-api / swagger-api/swagger-ui

Add placeholder to @Parameter

Open
#10,657 0 comments 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.