first commit

This commit is contained in:
Methapon2001 2024-07-10 17:53:27 +07:00
commit e082feae8b
26 changed files with 7238 additions and 0 deletions

21
tsoa.json Normal file
View file

@ -0,0 +1,21 @@
{
"entryFile": "src/app.ts",
"noImplicitAdditionalProperties": "throw-on-extras",
"controllerPathGlobs": ["src/controllers/*-controller.ts", "src/controllers/*Controller.ts"],
"spec": {
"outputDirectory": "src/",
"specVersion": 3,
"securityDefinitions": {
"keycloak": {
"type": "apiKey",
"name": "Authorization",
"description": "Keycloak Bearer Token",
"in": "header"
}
}
},
"routes": {
"routesDir": "src/",
"authenticationModule": "src/middlewares/auth.ts"
}
}