jws-backend/tsoa.json
2024-06-11 15:23:51 +07:00

44 lines
1.2 KiB
JSON

{
"entryFile": "src/app.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/controllers/**/*-controller.ts"],
"spec": {
"outputDirectory": "src/",
"specVersion": 3,
"securityDefinitions": {
"keycloak": {
"type": "apiKey",
"name": "Authorization",
"description": "Keycloak Bearer Token",
"in": "header"
}
},
"spec": {
"tags": [
{ "name": "OpenAPI" },
{ "name": "Single-Sign On" },
{ "name": "Permission" },
{ "name": "Address" },
{ "name": "Branch" },
{ "name": "Branch Contact" },
{ "name": "User" },
{ "name": "Branch User" },
{ "name": "Customer" },
{ "name": "Customer Branch" },
{ "name": "Employee" },
{ "name": "Employee Checkup" },
{ "name": "Employee Work" },
{ "name": "Employee Other Info" },
{ "name": "Product Group" },
{ "name": "Product Type" },
{ "name": "Product" },
{ "name": "Service" },
{ "name": "Work" }
]
}
},
"routes": {
"routesDir": "src/",
"authenticationModule": "src/middlewares/auth.ts"
}
}