Skip to content

Commit bd87433

Browse files
committedOct 18, 2023
feat(@nestjs/swagger): Support for custom OAuth2 token name with x-tokenName parameter in security scheme
1 parent c20bd9b commit bd87433

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)