fix(server): 修复一个tsoa的问题,见issue

https://github.com/lukeautry/tsoa/issues/1090
This commit is contained in:
dayjoy
2025-09-26 16:08:27 +08:00
parent d346a9f2f4
commit 8757f05e44
3 changed files with 539 additions and 179 deletions

View File

@@ -0,0 +1,19 @@
{
"entryFile": "src/index.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/controllers/**/*Controller.ts", "src/types/**/*.ts"],
"spec": {
"outputDirectory": "build",
"specVersion": 3,
"name": "Egret App Server",
"description": "Egret App Server API Documentation",
"version": "1.0.0",
"basePath": "/",
"schemes": ["http", "https"],
"host": "localhost:3005"
},
"routes": {
"routesDir": "src/routes",
"authenticationModule": "src/middleware/auth.ts"
}
}