-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsoa.json
43 lines (41 loc) · 1.13 KB
/
tsoa.json
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
33
34
35
36
37
38
39
40
41
42
43
{
"swagger": {
"info": {
"description": "Apis for the squealer project",
"version": "1.0.0",
"title": "squealer Rest Apis"
},
"schemes": ["http", "https"]
},
"entryFile": "server/index.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["api/**/*Controller.ts"],
"spec": {
"outputDirectory": "build",
"basePath": "/api",
"specVersion": 3,
"securityDefinitions": {
"jwt": {
"type": "http",
"scheme": "bearer",
"description": "JWT token bearer security"
},
"maybeJWT": {
"type": "http",
"scheme": "bearer",
"description": "Accept both JWT token authorization and no authorization users"
}
}
},
"routes": {
"authenticationModule": "server/auth.ts",
"basePath": "/api",
"routesDir": "build/api"
},
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@model/*": ["model/*"]
}
}
}