swagger-api / swagger-api/swagger-ui

How to change text present on swagger authorization screen using springdoc

Open
#6,340 8 comments 0 reactions 2 assignees View on GitHub

@XprabhatX is already working on this.

Since Nov 21, 2023.

cat: auth Hacktoberfest type: enhancement version: 5.x
Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

I want to change the Authorized label to Stored.

Please find the below screenshot from swagger UI authorization screen

image

The reason I want to change it as it is miss leading. If the user passes an invalid credential still it is showing as authorized.

Actual validation of Username and password is happening once we execute the request.

I am also good if anyone has an answer to validate the credentials once we hit the Authorize button as shown below.

Same question is asked on StackOverflow here

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.