-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsoa.json
45 lines (45 loc) · 1.1 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
44
45
{
"entryFile": "src/index.ts",
"noImplicitAdditionalProperties": "silently-remove-extras",
"controllerPathGlobs": ["src/controllers/*.ts"],
"spec": {
"version": "1.0.1",
"name": "ShareScribe API",
"description": "This is a simple notes sharing api, in which you can create, read, update, delete and share notes with other users.",
"basePath": "/api",
"termsOfService": "",
"contact": {
"name": "API Support",
"url": "",
"email": "majjikishore031@gmail.com"
},
"license": {
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"outputDirectory": "Public",
"securityDefinitions": {
"jwt": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT"
}
},
"yaml": false,
"specVersion": 3,
"spec": {
"servers": [
{
"url": "http://localhost:5000/api"
},
{
"url": "https://api.yourdomain.com/api"
}
]
}
},
"routes": {
"basePath": "/v1",
"authenticationModule": "./src/middleware/auth"
}
}