swagger-api/swagger-ui

How to change text present on swagger authorization screen using springdoc

Open

#6,340 建立於 2020年8月27日

在 GitHub 查看
 (8 留言) (0 反應) (2 負責人)JavaScript (8,801 fork)batch import
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

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

貢獻者指南