lukeautry / tsoa

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

add next() to express template, closes #1593 #1625

Closed ericwooley closed 1 month ago

ericwooley commented 1 month ago

closes #1593

All Submissions:

Closing issues

Put closes #XXXX (where XXXX is the issue number) in your comment to auto-close the issue that your PR fixes.

If this is a new feature submission:

Potential Problems With The Approach

Technically this could be considered a breaking change, but IMO it should be considered a bug fix.

Test plan

I added an in memory boolean to the express server, added routes to check/modify that boolean, and a middleware which modifies the bool after the register routes. The tests first set that boolean to false, then, after a route has run through tsoa, checks that the boolean was modified by the middleware.

ericwooley commented 1 month ago

Hi @lukeautry

Just wanted to check in and see if this got lost in the shuffle