first commit
This commit is contained in:
parent
c5a1fd4cc4
commit
454cda29e5
27 changed files with 12020 additions and 0 deletions
38
tsoa.json
Normal file
38
tsoa.json
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"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": "สำหรับทดสอบ"
|
||||
}
|
||||
]
|
||||
},
|
||||
"routes": {
|
||||
"routesDir": "src/",
|
||||
"authenticationModule": "src/middlewares/auth.ts"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue