Skip to content

Commit 6209da2

Browse files
committed
chore(api): refactor Swagger setup for improved clarity
1 parent 49b7d90 commit 6209da2

File tree

2 files changed

+243
-11
lines changed

2 files changed

+243
-11
lines changed

modules/services/api/src/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ async function bootstrap() {
1515
.setDescription(`The ${AppName} API`)
1616
.setVersion('1.0')
1717
.addBearerAuth()
18-
// .addTag('Authentication', 'Endpoints for authentication', {
19-
// description: 'Docs',
20-
// url: 'https://github.com/akdasa-studios/vidya/blob/main/docs/adr/001%20OTP%20Authentication.md',
21-
// })
18+
.addTag('Authentication', 'Endpoints for authentication', {
19+
description: 'Docs',
20+
url: 'https://github.com/akdasa-studios/vidya/blob/main/docs/adr/001%20OTP%20Authentication.md',
21+
})
2222
.build();
2323
const documentFactory = () => SwaggerModule.createDocument(app, config);
2424
SwaggerModule.setup('doc', app, documentFactory);

0 commit comments

Comments
 (0)