diff --git a/Prototype/server/src/routes.ts b/Prototype/server/src/routes.ts index 3068d7a..d16e76d 100644 --- a/Prototype/server/src/routes.ts +++ b/Prototype/server/src/routes.ts @@ -11,8 +11,6 @@ import { FileController } from './controllers/fileController'; // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa import { FolderController } from './controllers/folderController'; // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa -import { MinioController } from './controllers/minioController'; -// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa import { SearchController } from './controllers/searchController'; // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa import { SubFolderController } from './controllers/subFolderController'; @@ -556,31 +554,6 @@ export function RegisterRoutes(app: Router) { } }); // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - app.post('/minio', - ...(fetchMiddlewares(MinioController)), - ...(fetchMiddlewares(MinioController.prototype.hook)), - - function MinioController_hook(request: any, response: any, next: any) { - const args = { - req: {"in":"request","name":"req","required":true,"dataType":"object"}, - }; - - // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa - - let validatedArgs: any[] = []; - try { - validatedArgs = getValidatedArgs(args, request, response); - - const controller = new MinioController(); - - - const promise = controller.hook.apply(controller, validatedArgs as any); - promiseHandler(controller, promise, response, undefined, next); - } catch (err) { - return next(err); - } - }); - // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa app.post('/search', ...(fetchMiddlewares(SearchController)), ...(fetchMiddlewares(SearchController.prototype.searchFile)), diff --git a/Prototype/server/src/swagger.json b/Prototype/server/src/swagger.json index 1128fbb..69080a3 100644 --- a/Prototype/server/src/swagger.json +++ b/Prototype/server/src/swagger.json @@ -1093,18 +1093,6 @@ ] } }, - "/minio": { - "post": { - "operationId": "Hook", - "responses": { - "204": { - "description": "No content" - } - }, - "security": [], - "parameters": [] - } - }, "/search": { "post": { "operationId": "SearchFile",