reset main for swagger

This commit is contained in:
sdraris 2025-09-26 17:03:29 +02:00
parent 65ae32dc87
commit 6b2ffd017c

View File

@ -43,7 +43,9 @@ async function bootstrap() {
) )
.build(); .build();
const document = SwaggerModule.createDocument(app, config); const document = SwaggerModule.createDocument(app, config, {
ignoreGlobalPrefix: true,
});
SwaggerModule.setup('api-docs', app, document); SwaggerModule.setup('api-docs', app, document);