I'm fairly new to node and very new to express and swagger. I've generated the nodejs server stubs and I've been beating my head against the wall trying to figure out how to add custom middleware and business logic.
Your solution looks promising but I'm trying to understand it.
1) Where are the middleware functions like helmet() etc... defined?
2) Is custom middleware not supported in the current nodejs server stubs?
1) Is it otherwise not possible to add custom middleware