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
When parsing this, the controller will have both parameters (firstParam and fromDateTime), however if at runtime values are provided for fromDateTime they are not sent to the corresponding controller file.
The controller function 'doTest' will have 6 variables: req, res, next, firstParam, fromDateTime, secondParam
Actual behavior
example1
GET /subject?firstParam=test&fromDateTime=2022-01-01
firstParam=test
fromDateTime=undefined
secondParam=undefined
If a value is provided for 'secondParam', the controller will have that value in 'fromDateTime' and not in 'secondParam' at runtime.
example 2
GET /subject?fromDateTime=2022-01-01&secondParam=testing
controller function 'doTest' variables:
firstParam='2022-01-01'
fromDateTime=testing
secondParam=undefined
Expected behavior
Of course I'd like the proper parameters to receive the proper value
The text was updated successfully, but these errors were encountered:
Defect
Consider the following openapi doc:
Definition:
When parsing this, the controller will have both parameters (firstParam and fromDateTime), however if at runtime values are provided for
fromDateTime
they are not sent to the corresponding controller file.The controller function 'doTest' will have 6 variables: req, res, next, firstParam, fromDateTime, secondParam
Actual behavior
example1
GET /subject?firstParam=test&fromDateTime=2022-01-01
If a value is provided for 'secondParam', the controller will have that value in 'fromDateTime' and not in 'secondParam' at runtime.
example 2
GET /subject?fromDateTime=2022-01-01&secondParam=testing
controller function 'doTest' variables:
Expected behavior
Of course I'd like the proper parameters to receive the proper value
The text was updated successfully, but these errors were encountered: