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
With the above PR, all the constraint validation errors (including path parameter) are returned as 400 - Bad Request responses. Initially, it was planned to give a 404 - Not Found response for constraint validation failure in the path parameter but later we have decided to give the same response to be consistent. Will think about this later
Description:
This task is to implement automatic constraint validations for path, query and header parameters if the parameter type is defined with constraints.
Describe your task(s)
The following use cases should be verified:
Path parameter type
Rest path parameter type
Query parameter basic type
Query parameter basic type optional
Query parameter basic type default negative
Query parameter basic array type
Query parameter map type
Header parameter basic type
Header parameter basic type optional
Header parameter basic type default negative
Header parameter basic array type
Header parameter map type
The text was updated successfully, but these errors were encountered: