-
Notifications
You must be signed in to change notification settings - Fork 509
/
tsoa.json
33 lines (33 loc) · 832 Bytes
/
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
{
"entryFile": "./fixtures/express/server.ts",
"noImplicitAdditionalProperties": "silently-remove-extras",
"spec": {
"outputDirectory": "./dist",
"host": "localhost:3000",
"basePath": "/v1",
"securityDefinitions": {
"api_key": {
"type": "apiKey",
"name": "access_token",
"in": "query"
},
"tsoa_auth": {
"type": "oauth2",
"authorizationUrl": "http://swagger.io/api/oauth/dialog",
"flow": "implicit",
"scopes": {
"write:pets": "modify things",
"read:pets": "read things"
}
}
},
"yaml": true,
"specVersion": 2
},
"routes": {
"basePath": "/v1",
"routesDir": "./fixtures/express",
"middleware": "express",
"authenticationModule": "./fixtures/express/authentication.ts"
}
}