From 6b2ffd017c0574f9ab94191a97f5a84fb217148a Mon Sep 17 00:00:00 2001 From: sdraris Date: Fri, 26 Sep 2025 17:03:29 +0200 Subject: [PATCH] reset main for swagger --- src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index f07f148..a6a8300 100644 --- a/src/main.ts +++ b/src/main.ts @@ -43,7 +43,9 @@ async function bootstrap() { ) .build(); - const document = SwaggerModule.createDocument(app, config); + const document = SwaggerModule.createDocument(app, config, { + ignoreGlobalPrefix: true, + }); SwaggerModule.setup('api-docs', app, document);