Skip to content

Commit

Permalink
Merge pull request #2665 from OskarsPakers/feat-token-name
Browse files Browse the repository at this point in the history
feat(@nestjs/swagger): Support for custom OAuth2 token name with `x-tokenName` parameter in security scheme
  • Loading branch information
kamilmysliwiec authored Oct 23, 2023
2 parents cdeced0 + b64131f commit 68b96fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/interfaces/open-api-spec.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ export interface SecuritySchemeObject {
bearerFormat?: string;
flows?: OAuthFlowsObject;
openIdConnectUrl?: string;
'x-tokenName'?: string;
}

export interface OAuthFlowsObject {
Expand Down

0 comments on commit 68b96fe

Please sign in to comment.