我的API当前使用的是api_xxx
而不是username
的基本身份验证,并且是api_xxy
而不是password
的基本身份验证,对于这种情况,我们是否有任何特定的架构? >
一切正常,我只想更改用户名和密码的UI标签。
以下功能描述如下:
components:
securitySchemes:
basicAuth: # <-- arbitrary name for the security scheme
type: http
scheme: basic
security:
- basicAuth: [] # <-- use the same name here