swagger-express-middleware icon indicating copy to clipboard operation
swagger-express-middleware copied to clipboard

Support for Next.js

Open PascalNoisette opened this issue 3 years ago • 0 comments

Hi,

I understand that @apidevtools/swagger-express-middleware is a middleware "for Express.js" but I was curious to install it and test it under nextjs.org

I am pleasantly surprised : there was only a few adaptation needded (listed here) to make it work. They are mostly low level access to methods or properties of Express request and response. These properties are not part of the Express/Connect Api and therefore not defined in nextjs at all.

Is there a roadmap to make @apidevtools/swagger-express-middleware more broadly compatible towards Next.js or Connect ? Thanks, Pascal Noisette

PascalNoisette avatar May 01 '21 17:05 PascalNoisette