This commit is contained in:
William Cheng 2023-05-17 00:50:51 +08:00
commit 9c968e8bae

View File

@ -230,8 +230,12 @@ Authentication schemes defined for the API:
- **API key parameter name**: {{keyParamName}} - **API key parameter name**: {{keyParamName}}
- **Location**: {{#isKeyInQuery}}URL query string{{/isKeyInQuery}}{{#isKeyInHeader}}HTTP header{{/isKeyInHeader}} - **Location**: {{#isKeyInQuery}}URL query string{{/isKeyInQuery}}{{#isKeyInHeader}}HTTP header{{/isKeyInHeader}}
{{/isApiKey}} {{/isApiKey}}
{{#isBasic}}- **Type**: HTTP basic authentication {{#isBasicBasic}}- **Type**: HTTP basic authentication
{{/isBasic}} {{/isBasicBasic}}
{{#isBasicBearer}}- **Type**: HTTP Bearer Token authentication{{#bearerFormat}} ({{{.}}}){{/bearerFormat}}
{{/isBasicBearer}}
{{#isHttpSignature}}- **Type**: HTTP signature authentication
{{/isHttpSignature}}
{{#isOAuth}}- **Type**: OAuth {{#isOAuth}}- **Type**: OAuth
- **Flow**: {{flow}} - **Flow**: {{flow}}
- **Authorization URL**: {{authorizationUrl}} - **Authorization URL**: {{authorizationUrl}}
@ -239,6 +243,10 @@ Authentication schemes defined for the API:
{{#scopes}} - {{scope}}: {{description}} {{#scopes}} - {{scope}}: {{description}}
{{/scopes}} {{/scopes}}
{{/isOAuth}} {{/isOAuth}}
{{#isOpenId}}- **Type**: OpenIDConnect
- **Connect URL**: {{{openIdConnectUrl}}}
- **Bearer Format**: {{{bearerFormat}}}
{{/isOpenId}}
{{/authMethods}} {{/authMethods}}
``` ```