routing-controllers icon indicating copy to clipboard operation
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.

Results 145 routing-controllers issues
Sort by recently updated
recently updated
newest added

### Description Hi guys, At the moment the project only supports express and koa and at my company, we're testing Restify instead of Express giving we have manly APIs and...

type: feature
flag: needs discussion

**I was trying to upload multi pictures with both the origin files and compressed blob named "picFile" and "thumbUrl"** ``` let fd = new FormData(); for (let file of fileList.value)...

type: question

# PLEASE READ THE WHOLE DESCRIPTION Hey there! You probably get there because you see a warning in your routing-controller project what uses Koa as a driver. The reason for...

type: discussion

I looking to add a multiple file with multiple fields and its throw unexpected field. > Here this my code. ``` @Post('/temple/upload') public uploadNewTemple( @Req() req: any, @Body() temple: TempleRequest,...

type: fix

Propose implementing swagger generation for route definitions as discussed on [swagger-ts](https://github.com/lukeautry/swagger-ts/issues/2) repo. I've talked to @lukeautry and he is interested in collabing on this. **References** - [class validator issue](https://github.com/pleerock/class-validator/issues/5)

type: feature

Routing-controllers allows to set config for 'cors' module, but it doesn't enabling handling of pre-flight requests https://github.com/expressjs/cors#enabling-cors-pre-flight I suggest to expose another option to createExpressServer (like 'handleCorsPreflight') to enable it.

type: feature
flag: needs discussion

The samples should include a test-runner and unit tests for each controller, demonstrating how one would implement unit testing. I know there are a lot of test frameworks out there,...

status: awaiting answer

This library is great. It allows to create really beautiful and well-structured controllers using amazing TypeScript language. It exists already for 1.5 year and proved itself on production, in large...

type: discussion
status: awaiting answer

It would be nice to be able to declare the structure of your requests in an external class. Doing so would also open up the possibility of providing client-side tooling...

type: feature
status: awaiting answer

Hello, awesome project. I have an issue though. My JSON-Controller looks like this: ```typescript import {Router, Request, Response, NextFunction} from 'express'; import {getEntityManager, Repository} from "typeorm"; import {User} from "../models/user";...

status: awaiting answer