diff --git a/tsoa.json b/tsoa.json index 1e978cf..51efde0 100644 --- a/tsoa.json +++ b/tsoa.json @@ -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" + } } + } } - \ No newline at end of file