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);