chore: generate route and swagger

This commit is contained in:
Methapon2001 2023-11-22 16:11:21 +07:00
parent 2405eac9e1
commit e58e4db933
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
2 changed files with 0 additions and 39 deletions

View file

@ -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<RequestHandler>(MinioController)),
...(fetchMiddlewares<RequestHandler>(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<RequestHandler>(SearchController)),
...(fetchMiddlewares<RequestHandler>(SearchController.prototype.searchFile)),

View file

@ -1093,18 +1093,6 @@
]
}
},
"/minio": {
"post": {
"operationId": "Hook",
"responses": {
"204": {
"description": "No content"
}
},
"security": [],
"parameters": []
}
},
"/search": {
"post": {
"operationId": "SearchFile",