hrms-api-development/tsoa.json

45 lines
1.3 KiB
JSON
Raw Normal View History

2024-02-14 15:19:59 +07:00
{
"entryFile": "src/app.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/controllers/*Controller.ts"],
"spec": {
"outputDirectory": "src",
"specVersion": 3,
"spec": {
"info": {
"title": "bma-ehr-development - API",
"version": "0.0.1",
"description": "ระบบการพัฒนาบุคลากร/การศึกษาต่อ (Development: DV)",
"license": {
"name": "by Frappet",
"url": "https://frappet.com"
}
},
"basePath": "/"
},
"securityDefinitions": {
"bearerAuth": {
"type": "apiKey",
"name": "Authorization",
"description": "Keycloak Bearer Token",
"in": "header"
}
},
"tags": [
{
"name": "Test", "description": "สำหรับทดสอบ"
2024-04-02 17:53:45 +07:00
},
{
"name": "Development", "description": "ชื่อโครงการ/กิจกรรม/หลักสูตร"
},
{
"name": "DevelopmentHistory", "description": "ประวัติการฝึกอบรม/ดูงาน"
2024-02-14 15:19:59 +07:00
}
]
},
"routes": {
"routesDir": "src/",
"authenticationModule": "src/middlewares/auth.ts"
}
}