You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
req.query = { sort: "name|date"} should be having an array value after parsing: req.query = { sort: ["name", "date"]}, but it remains the same value req.query = { sort: "name|date"}
The text was updated successfully, but these errors were encountered:
The request parameter mutator is broken when express 5 is used
When you have a query parameter definition for array values, the req.query[key] could not be updated because it is immutable in express 5.
The req.query key values are not parsed by its query parameter definitions in the OpenApi 3 specs
The req.query parameters should be parsed like defined in the OpenApi 3 schema for the query parameter
Example sort query parameter definition:
name: sort
in: query
description: Sort parameter
required: false
style: pipeDelimited
explode: false
schema:
type: array
items:
type: string
req.query = { sort: "name|date"} should be having an array value after parsing: req.query = { sort: ["name", "date"]}, but it remains the same value req.query = { sort: "name|date"}
The text was updated successfully, but these errors were encountered: