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
And a url to call it like http://localhost:35123/anything/queryParams/form/camelObj?item_count=10&obj_param=encoded_count%2C11%2Cencoded_term%2Cbar&search_term=foo
This request fails with the below error from wiretap:
{
"type": "https://pb33f.io/wiretap/errors#validation_failed_and_spec_insufficient_error",
"title": "Invalid request, specification is insufficient (500)",
"status": 500,
"detail": "The request failed validation, and the specification does not contain a '422' or '400' response for this operation. Check payload for validation errors.",
"payload": [
{
"message": "Query array parameter 'obj_param_exploded' failed to validate",
"reason": "The query parameter (which is an array) 'obj_param_exploded' is defined as an object, however it failed to pass a schema validation",
"validationType": "parameter",
"validationSubType": "query",
"specLine": 1066,
"specColumn": 13,
"howToFix": "Ensure that the object being submitted, matches the schema correctly",
"validationErrors": [
{
"reason": "expected string, but got number",
"location": "/properties/item_count/type"
}
]
}
]
}
This should be a valid request and I wouldn't expect it to fail, especially as the validation error doesn't really seem to be calling out anything valid
The text was updated successfully, but these errors were encountered:
Consider this spec:
And a url to call it like
http://localhost:35123/anything/queryParams/form/camelObj?item_count=10&obj_param=encoded_count%2C11%2Cencoded_term%2Cbar&search_term=foo
This request fails with the below error from wiretap:
This should be a valid request and I wouldn't expect it to fail, especially as the validation error doesn't really seem to be calling out anything valid
The text was updated successfully, but these errors were encountered: