How to upgrade a Node JS Express project using Swagger
Migrate [swagger-express-mw] / and underlying [swagger-node-runner] to [express-openapi]
Why do this?
There have been a number of high and critical vulnerabilities caused by the npm package.
I myself have been hunting through ways to figure out how to solve these problems, as the package maintainers seem to have abandonded this library (there was even an NPM fork which still seems to have issues with
bagpipes - see [swagger-node-runner year old PR]). I have created a basic guide to help others out, so that I am not just another DenverCoder9 (https://xkcd.com/979/)
[npm audit] and [snyk] scans find issues like: