hrms-api-org/tsoa.json
2024-01-26 17:09:28 +07:00

53 lines
1.5 KiB
JSON

{
"entryFile": "src/app.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/controllers/*Controller.ts"],
"spec": {
"outputDirectory": "src",
"specVersion": 3,
"spec": {
"info": {
"title": "bma-ehr-organization - API",
"version": "0.0.1",
"description": "ระบบโครงสร้างอัตรากำลัง",
"license": {
"name": "by Frappet",
"url": "https://frappet.com"
}
},
"basePath": "/"
},
"securityDefinitions": {
"bearerAuth": {
"type": "apiKey",
"name": "Authorization",
"description": "Keycloak Bearer Token",
"in": "header"
}
},
"tags": [
{
"name": "Organization", "description": "โครงสร้างส่วนอื่น ๆ"
},
{
"name": "OrgRoot", "description": "โครงสร้างระดับ root"
},
{
"name": "OrgChild1", "description": "โครงสร้างระดับ 1"
},
{
"name": "OrgChild2", "description": "โครงสร้างระดับ 2"
},
{
"name": "OrgChild3", "description": "โครงสร้างระดับ 3"
},
{
"name": "OrgChild4", "description": "โครงสร้างระดับ 4"
}
]
},
"routes": {
"routesDir": "src/",
"authenticationModule": "src/middlewares/auth.ts"
}
}