Support for expressjs v5?
I don't see a clear support statement on which versions of expressjs are supported with express-openapi. We've upgraded to express 5.1.0 and are hitting some issues with query parameter parsing of arrays. We've gone through the express v5 migration guide and changed what we thought might fix it to be like v4 when parsing query strings, but those didn't fix the issues we're seeing. Since the latest release of this was 2 years ago, before express v5 was released, I'm wondering if there has been any kind of testing or compatibility investigation between v4 and v5.
I'm using this project with express 5 in production
I'm seeing the same issues with the request coercer middleware not populating the params -- see the parameter spec below. The query is coerced, but it isn't populating in the req.params object. Also the req.query isn't cached, so when the request validation middlewre executes it refetches the original/un-coerced req.query object and fails validation as the offset and limit properties are "reset" back to strings -- due to the coercion not being maintained between middleware invocations.
{
name: 'paginate',
in: 'query',
style: 'deepObject',
explode: true,
schema: {
type: 'object',
properties: {
offset: { type: 'integer' },
limit: { type: 'integer' },
},
},
}