38 lines
934 B
JSON
38 lines
934 B
JSON
{
|
|
"entryFile": "src/app.ts",
|
|
"noImplicitAdditionalProperties": "throw-on-extras",
|
|
"controllerPathGlobs": ["src/controllers/*Controller.ts"],
|
|
"spec": {
|
|
"outputDirectory": "src",
|
|
"specVersion": 3,
|
|
"spec": {
|
|
"info": {
|
|
"title": "bma-ehr-salary - 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": "Test", "description": "สำหรับทดสอบ"
|
|
}
|
|
]
|
|
},
|
|
"routes": {
|
|
"routesDir": "src/",
|
|
"authenticationModule": "src/middlewares/auth.ts"
|
|
}
|
|
}
|