-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsoa.json
52 lines (52 loc) · 1.22 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
46
47
48
49
50
51
52
{
"entryFile": "src/app.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/**/*Controller.ts"],
"spec": {
"outputDirectory": "build",
"specVersion": 3,
"name": "Custom API Name",
"description": "Custom API Description",
"license": "MIT",
"version": "1.0.0",
"contact": {
"name": "API Contact",
"email": "[email protected]",
"url": "http://example.com"
},
"tags": [
{
"name": "drinks",
"description": "Operations related to drinks",
"externalDocs": {
"description": "Find out more about drinks",
"url": "http://example.com"
}
},
{
"name": "bar",
"description": "Operations related to the bar"
},
{
"name": "update",
"description": "Update operations"
}
],
"spec": {
"x-speakeasy-retries": {
"strategy": "backoff",
"backoff": {
"initialInterval": 500,
"maxInterval": 60000,
"maxElapsedTime": 3600000,
"exponent": 1.5
},
"statusCodes": ["5XX"],
"retryConnectionErrors": true
}
}
},
"routes": {
"routesDir": "build"
}
}