From 7ff7dd71a8b91c05e8d09cb389c39bd0a434f9db Mon Sep 17 00:00:00 2001 From: sdraris Date: Fri, 26 Sep 2025 11:22:55 +0200 Subject: [PATCH] fixed swagger import --- src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index b105431..1a857c3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -23,7 +23,9 @@ async function bootstrap() { const configService = app.get(ConfigService); const port = configService.get('app.port', 3000); - app.setGlobalPrefix('api/v1'); + app.setGlobalPrefix('api/v1', { + exclude: ['/api-docs'], + }); const config = new DocumentBuilder() .setTitle("P'titsPas API")