api_xxx
現在、私の API はの代わりにusername
とのapi_xxy
代わりにBasic 認証を使用しpassword
ていますが、そのような状況のための特定のスキーマはありますか?
すべてがまったく同じように機能します。ユーザー名とパスワードの UI のラベルのみを変更したいと思います。
次の機能は、次のように説明されています。
components:
securitySchemes:
basicAuth: # <-- arbitrary name for the security scheme
type: http
scheme: basic
security:
- basicAuth: [] # <-- use the same name here