feat(server): add tsoa to generate api swaggers
This commit is contained in:
18
packages/server/tsoa.json
Normal file
18
packages/server/tsoa.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"entryFile": "src/index.ts",
|
||||
"noImplicitAdditionalProperties": "throw-on-extras",
|
||||
"controllerPathGlobs": ["src/controllers/**/*Controller.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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user