fix tsoa config

This commit is contained in:
tw-blue
2025-11-29 17:43:21 +01:00
parent 9f1e30e6fa
commit da782c89e0
+31 -43
View File
@@ -1,47 +1,35 @@
{
"entryFile": "packages/api/src/index.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": [
"packages/api/src/controllers/**/*.ts"
],
"routes": {
"routesDir": "packages/api/src/generated",
"middleware": "express",
"authenticationModule": "packages/api/src/middleware/authentication.ts",
"middlewareTemplate": "routes.hbs"
"entryFile": "packages/api/src/index.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["packages/api/src/controllers/**/*.ts"],
"routes": {
"routesDir": "packages/api/src/generated",
"middleware": "express",
"authenticationModule": "packages/api/src/middleware/authentication.ts",
"middlewareTemplate": "routes.hbs"
},
"spec": {
"outputDirectory": "packages/frontend/src/app/generated-api",
"specVersion": 3,
"securityDefinitions": {
"bearerAuth": {
"type": "http",
"scheme": "Bearer",
"description": "JWT token",
"bearerFormat": "JWT"
}
},
"spec": {
"outputDirectory": "packages/frontend/src/generated-api",
"specVersion": 3,
"securityDefinitions": {
"bearerAuth": {
"type": "http",
"scheme": "Bearer",
"description": "JWT token",
"bearerFormat": "JWT"
}
},
"basePath": "/api/v1",
"servers": [
{
"url": "https://localhost:8080/api/v1",
"description": "Development server"
},
{
"url": "https://tcc-member-db-4bfaysdsja-ew.a.run.app/api/v1",
"description": "Production server"
}
],
"info": {
"title": "Tcc Member API",
"description": "API for the TCC Member Database",
"version": "1.0.0",
"contact": {
"name": "TCC",
"url": "https://taekwondo-chemnitz-toni714.de/kontakt",
"email": "toniwalter.blue@gmail.com"
}
}
"basePath": "/api/v1",
"servers": ["localhost:8080/api/v1", "tkd-api.toni714.de/api/v1"],
"info": {
"title": "Tcc Member API",
"description": "API for the TCC Member Database",
"version": "1.0.0",
"contact": {
"name": "TCC",
"url": "https://taekwondo-chemnitz-toni714.de/kontakt",
"email": "toniwalter.blue@gmail.com"
}
}
}
}