swagger-api/swagger-ui
在 GitHub 查看How to change text present on swagger authorization screen using springdoc
Open
#6,340 创建于 2020年8月27日
Hacktoberfestcat: authtype: enhancementversion: 5.x
仓库指标
- Star
- (25,447 star)
- PR 合并指标
- (平均合并 20小时 34分钟) (30 天内合并 14 个 PR)
描述
I want to change the Authorized label to Stored.
Please find the below screenshot from swagger UI authorization screen

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