hrms-edm/Services/server/tsoa.json
2023-11-22 16:16:27 +07:00

34 lines
837 B
JSON

{
"entryFile": "src/app.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/**/*Controller.ts"],
"spec": {
"specVersion": 3,
"outputDirectory": "src",
"basePath": "/api",
"spec": {
"info": {
"title": "BMA EHR - Test Service API",
"version": "0.0.1",
"description": "Best practice for initialize express project",
"license": {
"name": "by Frappet",
"url": "https://frappet.com"
}
},
"basePath": "/api"
},
"securityDefinitions": {
"bearerAuth": {
"type": "apiKey",
"name": "Authorization",
"description": "Keycloak Bearer Token",
"in": "header"
}
}
},
"routes": {
"routesDir": "src",
"authenticationModule": "src/utils/auth.ts"
}
}