routing-controllers
routing-controllers copied to clipboard
Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage in Express / Koa using TypeScript and Routing Controllers Framework.
**I was trying to...** const app: express.Application = createExpressServer({ routePrefix: '/api', controllers: [__dirname + "/controllers/**"] }); app.listen(3000, function () { console.log('App is listening on port 3000!'); }); app.use('/api-docs', swaggerUi.serve, swaggerUi.setup(swaggerDocument));...
Bumps [express](https://github.com/expressjs/express) and [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express). These dependencies needed to be updated together. Updates `express` from 4.17.1 to 4.18.1 Release notes Sourced from express's releases. 4.18.1 Fix hanging on large stack of...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.20.0 to 27.0.4. Release notes Sourced from eslint-plugin-jest's releases. v27.0.4 27.0.4 (2022-09-10) Bug Fixes consistent rule doc notices and sections (#1226) (2580563) v27.0.3 27.0.3 (2022-09-09) Bug Fixes...
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.7 to 4.8.3. Release notes Sourced from typescript's releases. TypeScript 4.8.3 For release notes, check out the release announcement. For the complete list of fixed issues, check...
Ref. https://github.com/pleerock/routing-controllers/issues/131#issuecomment-301256671 ## Introduction Right now, `RoutingControllersOptions` has following signature: ```ts /** * List of middlewares to register in the framework or directories from where to import all your middlewares....
Ref. https://github.com/pleerock/routing-controllers/issues/202#issuecomment-321031119 ## Introduction Right now, `RoutingControllersOptions` has following signatures for controllers/interceptors/middlewares - `Function[] | string[]` - which allows to register in the framework `list of classes or directories from...
### Description I'm integrating routing controllers in an existing application to have a better controller structure. I have lot of controllers, so I don't want to migrate all of them...
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to 3.2.5. Release notes Sourced from prettier's releases. 3.2.5 🔗 Changelog 3.2.4 Fix .eslintrc.json format #15947 🔗 Changelog 3.2.3 Format tsconfig.json file with jsonc parser #15927...
**I was trying to...** ``` @Get(`/api/v1/getdetails`) @Get(`/api/v2/details`) public async getDetail( ``` **The problem:** We are trying to rename the bad API paths, without removing the old one. Is that possible,...
how make sub folder controllers