fix(server): 修复一个tsoa的问题,见issue
https://github.com/lukeautry/tsoa/issues/1090
This commit is contained in:
19
packages/server/tsoaConfig.json
Normal file
19
packages/server/tsoaConfig.json
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user