elearning/Backend/tsoa.json
2026-01-09 06:28:15 +00:00

30 lines
No EOL
934 B
JSON

{
"entryFile": "src/app.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": [
"src/controllers/**/*Controller.ts"
],
"spec": {
"outputDirectory": "public",
"specVersion": 3,
"name": "E-Learning Platform API",
"description": "API documentation for E-Learning Platform",
"version": "1.0.0",
"contact": {
"name": "E-Learning Team"
},
"securityDefinitions": {
"jwt": {
"type": "apiKey",
"name": "Authorization",
"in": "header",
"description": "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\""
}
}
},
"routes": {
"routesDir": "src/routes",
"middleware": "express",
"authenticationModule": "./src/middleware/authentication.ts"
}
}