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

https://github.com/typestack/routing-controllers/blob/cf1117dbb655220b544f86eb47d7b17392a4729f/src/index.ts?_pjax=%23js-repo-pjax-container%2C%20div%5Bitemtype%3D%22http%3A%2F%2Fschema.org%2FSoftwareSourceCode%22%5D%20main%2C%20%5Bdata-pjax-container%5D#L220

type: question
status: awaiting answer

Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.2 to 3.1.4. Release notes Sourced from semver-regex's releases. v3.1.4 Backport of ReDoS fix https://github.com/sindresorhus/semver-regex/commit/7712ba564d40da101cf2b2b33e6a910d9f2f57f4 Commits 906cf40 3.1.4 7712ba5 Fix ReDoS vulnerability backport a0203db Fix ReDoS vulnerability...

dependencies

### Description **routing-controllers** validate params,but not validate response. **routing-controllers-openapi** use ResponseSchema to describe response, but only for generate openapi,and not validate it. http://github.com/epiphone/routing-controllers-openapi/issues/36 ### Proposed solution use ResponseSchema meta to...

type: feature
flag: needs discussion

I'm using `authorizationChecker` with `currentUserChecker` in `authorizationChecker` I store logged user in `action.request.user = user`. Now I need to get user some info in one of my `@UseBefore` middlewares, but...

type: question

After the first rendering of html, all request results return the first rendered html; The reason is that `this.koa.use (FN)` is called many times, resulting in subsequent requests going through...

I'm adding a Stripe webhook and I need to get raw request body, like: ```javascript app.post('/webhook', bodyParser.raw({type: 'application/json'}), (request, response) => {} ``` https://stripe.com/docs/webhooks/signatures#verify-official-libraries How I can get it using...

type: question

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.6 to 1.19.11. Release notes Sourced from urijs's releases. 1.19.11 (April 3rd 2022) SECURITY fixing URI.parse() handle excessive slashes in scheme-relative URLs - disclosed by zeyu2001 via...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

## Description Check `response.headersSent` in both handleSuccess & handleError, prevents that response already sent and Express app crashed.

When I was creating my [(use)Interceptor priorty PR](https://github.com/typestack/routing-controllers/pull/860) it took me some time to get a working setup and I was wondering if there were some docs on how to...

type: question