-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsoa.json
More file actions
32 lines (32 loc) · 774 Bytes
/
Copy pathtsoa.json
File metadata and controls
32 lines (32 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"entryFile": "src/app.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/**/*Controller.ts"],
"spec": {
"outputDirectory": "src",
"specVersion": 3,
"securityDefinitions": {
"bearerAuth": {
"type": "apiKey",
"name": "Authorization",
"scheme": "bearer",
"in": "header"
}
}
},
"routes": {
"routesDir": "src/routes",
"middleware": "express",
"authenticationModule": "./src/middlewares/authentication.ts"
},
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"@entities/*": ["./entities/*"],
"@users/*": ["./entities/users/*"],
"@type/*": ["./types/*"],
"@db/*": ["./db/*"],
"@config/*": ["./config/*"]
}
}
}