We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f9bf19 commit d6a02aeCopy full SHA for d6a02ae
src/utils/swagger.ts
@@ -11,6 +11,15 @@ export function setupSwagger(app: INestApplication): void {
11
.setTitle('OODD API Docs')
12
.setDescription('OODD API 문서입니다.')
13
.setVersion('1.0.0')
14
+ .addBearerAuth(
15
+ {
16
+ type: 'http',
17
+ scheme: 'bearer',
18
+ name: 'JWT',
19
+ in: 'header',
20
+ },
21
+ 'access-token',
22
+ )
23
.build();
24
25
const document = SwaggerModule.createDocument(app, options);
0 commit comments