cdimascio / express-openapi-validator

🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.x specification
MIT License
885 stars 203 forks source link

Many updates - soliciting feedback #926

Closed mdmower closed 50 minutes ago

mdmower commented 4 weeks ago

This PR isn't meant to be code reviewed all at once. It's made available as a full set of commits to solicit feedback on which would be welcome. Separate PRs would be created for each approved commit.

I did a bit of repository maintenance this weekend and am interested to hear whether these commits would be welcome or if they're too heavy-handed. Notably, I thought this would be a good time to drop support for Node.js versions older than 18, allowing for tsconfig updates to use more modern module resolution strategies. For example, the hack in #922 to obscure await import() wouldn't be needed.

See commit descriptions for more details on each. Thanks!

P.S. The prettier formatting across the code base would cause merge conflicts with virtually every open PR. I'd recommend #882 be merged before this series, and then I'd be happy to rebase this series on the current upsteam HEAD.

mdmower commented 3 weeks ago

Couple of notes:

UPDATE: Both of these notes have been resolved in the latest push.