swagger-api / swagger-api/swagger-ui

Copy button is not indicating the text was copied or not

Open
#8,958 4 comments 1 reaction 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

Swagger-ui:@^4.15.5,
react:@^17.0.2

SwaggerUI({
spec,
domNode: swaggerRef.current,
defaultModelsExpandDepth: 1,
defaultModelExpandDepth: 10,
docExpansion: 'list',
plugins: swaggerPlugins,
showExtensions: !!config.swagger.showExtensions,
});

Screenshots

swagger

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 report gives a Swagger UI 4.15.5 and React 17 reproduction context but names no source file, entry point, or test. Start by reproducing the copy-button behavior with the supplied configuration and locate the button implementation and existing tests. Done means the interface visibly confirms a successful copy and the requested customization behavior is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.