89 lines
2.7 KiB
JSON
89 lines
2.7 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"
|
|
},
|
|
{
|
|
"name": "Position", "description": "ตำแหน่ง"
|
|
},
|
|
{
|
|
"name": "PosType", "description": "ประเภทตำแหน่ง"
|
|
},
|
|
{
|
|
"name": "PosLevel", "description": "ระดับตำแหน่ง"
|
|
},
|
|
{
|
|
"name": "PosExecutive", "description": "ตำแหน่งทางการบริหาร"
|
|
},
|
|
{
|
|
"name": "Prefix", "description": "คำนำหน้า"
|
|
},
|
|
{
|
|
"name": "Rank", "description": "ยศ"
|
|
},
|
|
{
|
|
"name": "BloodGroup", "description": "กลุ่มเลือด"
|
|
},
|
|
{
|
|
"name": "Gender", "description": "เพศ"
|
|
},
|
|
{
|
|
"name": "Religion", "description": "ศาสนา"
|
|
},
|
|
{
|
|
"name": "Relationship", "description": "สถานภาพ"
|
|
},
|
|
{
|
|
"name": "EducationLevel", "description": "ระดับการศึกษา"
|
|
},
|
|
{
|
|
"name": "OrganizationUnauthorize", "description": "โครงสร้างส่วนอื่น ๆ (Unauthorize)"
|
|
}
|
|
]
|
|
},
|
|
"routes": {
|
|
"routesDir": "src/",
|
|
"authenticationModule": "src/middlewares/auth.ts"
|
|
}
|
|
}
|