lukeautry / tsoa

Build OpenAPI-compliant REST APIs using TypeScript and Node
MIT License
3.54k stars 499 forks source link

feat: added ability to pass multerInstance into RegisterRoutes #1489

Closed lalchan closed 11 months ago

lalchan commented 1 year ago

All Submissions:

If this is a new feature submission:

lalchan commented 1 year ago

Need help to expand this feature into koa and hapi, also need help to write test cases, as i was not able to find where the test cases for the RegisterRoutes functions were.

lalchan commented 1 year ago

koa seems to be very similar to express in this instance so went forward and implemented the injection in a similar method, still need help with hapi.

WoH commented 1 year ago

koa seems to be very similar to express in this instance so went forward and implemented the injection in a similar method, still need help with hapi.

Hapi has this included and does not use multer iirc. So feel free to pretend that doesn't exist

github-actions[bot] commented 11 months ago

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

jackey8616 commented 9 months ago

@WoH I think this feature is completed but accidentally close by bot. Maybe you can reopen and review it.

lalchan commented 9 months ago

have change the import to a type only import as asked here

added the commits in my fork, would like to have them also be included in this PR, Cannot figure out how to. Creating a new PR as expected, created a new PR (expected it would find pre-existing PR and add the commits into it) any help would be appreciated to add the new commits