Skip to content

Commit b35ffd3

Browse files
authored
add missing security schemes to new generator README template (#15536)
1 parent 0067687 commit b35ffd3

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/new-generator.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,15 +230,23 @@ Authentication schemes defined for the API:
230230
- **API key parameter name**: {{keyParamName}}
231231
- **Location**: {{#isKeyInQuery}}URL query string{{/isKeyInQuery}}{{#isKeyInHeader}}HTTP header{{/isKeyInHeader}}
232232
{{/isApiKey}}
233-
{{#isBasic}}- **Type**: HTTP basic authentication
234-
{{/isBasic}}
233+
{{#isBasicBasic}}- **Type**: HTTP basic authentication
234+
{{/isBasicBasic}}
235+
{{#isBasicBearer}}- **Type**: HTTP Bearer Token authentication{{#bearerFormat}} ({{{.}}}){{/bearerFormat}}
236+
{{/isBasicBearer}}
237+
{{#isHttpSignature}}- **Type**: HTTP signature authentication
238+
{{/isHttpSignature}}
235239
{{#isOAuth}}- **Type**: OAuth
236240
- **Flow**: {{flow}}
237241
- **Authorization URL**: {{authorizationUrl}}
238242
- **Scopes**: {{^scopes}}N/A{{/scopes}}
239243
{{#scopes}} - {{scope}}: {{description}}
240244
{{/scopes}}
241245
{{/isOAuth}}
246+
{{#isOpenId}}- **Type**: OpenIDConnect
247+
- **Connect URL**: {{{openIdConnectUrl}}}
248+
- **Bearer Format**: {{{bearerFormat}}}
249+
{{/isOpenId}}
242250
243251
{{/authMethods}}
244252
```

0 commit comments

Comments
 (0)