-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsoa.json
50 lines (50 loc) · 1.41 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
{
"entryFile": "src/server.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/controllers/**/*Controller.ts"],
"spec": {
"outputDirectory": "build",
"specFileBaseName": "openapi",
"specVersion": 3,
"version": "1.0.0",
"basePath": "/api/v1/",
"tags": [
{
"name": "Bahnhof",
"description": "Returns journeys from DeutscheBahn Bahnhof API. All journeys include RIS identifiers."
},
{
"name": "Vendo",
"description": "Returns journeys through [email protected] with multiple ID profiles: 'db' (RIS IDs), 'dbweb' (HAFAS IDs), and 'combined' (merged journey elements)",
"externalDocs": {
"description": "See more in the API Documentation",
"url": "https://github.com/public-transport/db-vendo-client"
}
},
{
"name": "Combined",
"description": "Aggregates and normalizes journeys from both Bahnhof and Vendo APIs into a unified response format"
},
{
"name": "Stations",
"description": "Search and retrieve station information from DeutscheBahn officials station database"
},
{
"name": "User",
"description": "Favorite stations."
}
],
"securityDefinitions": {
"better_auth": {
"type": "apiKey",
"in": "cookie",
"name": "better-auth.session_token"
}
}
},
"routes": {
"routesDir": "build",
"basePath": "/api/v1/",
"authenticationModule": "./src/lib/auth/middleware.ts"
}
}