initial commit

This commit is contained in:
Methapon2001 2024-04-01 13:28:43 +07:00
commit c5e3107e03
26 changed files with 3828 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"],
"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"
}
}