Skip to content

Commit 68b96fe

Browse files
authoredOct 23, 2023
Merge pull request #2665 from OskarsPakers/feat-token-name
feat(@nestjs/swagger): Support for custom OAuth2 token name with `x-tokenName` parameter in security scheme
2 parents cdeced0 + b64131f commit 68b96fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lib/interfaces/open-api-spec.interface.ts

+1
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ export interface SecuritySchemeObject {
260260
bearerFormat?: string;
261261
flows?: OAuthFlowsObject;
262262
openIdConnectUrl?: string;
263+
'x-tokenName'?: string;
263264
}
264265

265266
export interface OAuthFlowsObject {

0 commit comments

Comments
 (0)
Please sign in to comment.