From 7b0984d86b2ef899095d78f30adde52f4099bf97 Mon Sep 17 00:00:00 2001 From: CapoMK25 Date: Thu, 23 Jul 2026 18:23:44 +0300 Subject: [PATCH] Revert nest-cli and tsconfig back to default state --- nest-cli.json | 18 +++++++++++++++++- tsconfig.json | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/nest-cli.json b/nest-cli.json index ece5cf32d..5c0b27263 100644 --- a/nest-cli.json +++ b/nest-cli.json @@ -10,6 +10,22 @@ "outDir": "dist" } ], - "plugins": [] + "plugins": [ + { + "name": "@nestjs/swagger", + "options": { + "dtoFileNameSuffix": [".dto.ts", ".schema.ts", "APIError.ts"], + "controllerFileNameSuffix": ".controller.ts", + + "dtoKeyOfComment": "description", + "controllerKeyOfComment": "summary", + + "classValidatorShim": true, + "introspectComments": true, + "skipAutoHttpCode": true, + "esmCompatible": false + } + } + ] } } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index e8bfc2d79..e648f8513 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,7 @@ /* Interop Constraints */ "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ - "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ + "forceConsistentCasingInFileNames": false, /* Ensure that casing is correct in imports. */ /* Type Checking */ "strict": true, /* Enable all strict type-checking options. */