forked from WillStreeter/ws-node-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsoa.json
41 lines (37 loc) · 1.06 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
{
"swagger": {
"info": {
"description": "A Login authorization and registration using jwt",
"version": "1.0.0",
"title": "User Login Auth and Registration"
},
"tags":[
{
"name":"auth",
"description":"Access to updating a secured data"
},
{
"name":"user",
"description":"Operations about user"
}
],
"schemes": [ "http", "https" ],
"securityDefinitions": {
"api_key": {
"type": "apiKey",
"name": "access_token",
"in": "header"
}
},
"outputDirectory": "./dist",
"entryFile": "./src/server.ts",
"host": "localhost:8080",
"basePath": "/api"
},
"routes": {
"basePath": "/api",
"entryFile": "./src/server.ts",
"routesDir": "./src/middleware/server-config",
"authenticationModule": "./src/business-layer/security/Authentication"
}
}