From a64b94a41f15bcfe93e7641fc28dcf703ca08ffd Mon Sep 17 00:00:00 2001 From: kangfenmao Date: Thu, 6 Nov 2025 13:21:58 +0800 Subject: [PATCH] refactor: update OpenAPI documentation paths to include subdirectories for better route coverage --- src/main/apiServer/middleware/openapi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/apiServer/middleware/openapi.ts b/src/main/apiServer/middleware/openapi.ts index c136fecdd..ff01005bd 100644 --- a/src/main/apiServer/middleware/openapi.ts +++ b/src/main/apiServer/middleware/openapi.ts @@ -171,7 +171,7 @@ const swaggerOptions: swaggerJSDoc.Options = { } ] }, - apis: ['./src/main/apiServer/routes/*.ts', './src/main/apiServer/app.ts'] + apis: ['./src/main/apiServer/routes/**/*.ts', './src/main/apiServer/app.ts'] } export function setupOpenAPIDocumentation(app: Express) {