[Search] Response needs to include validation errors
Validation errors section has been removed from Search service response and only returning a generic error, making the response useless as there is no detail on the error.
Current bahavior:
{
"code": 400,
"reason": "Bad Request",
"message": "Invalid parameters were given on search request"
}
It needs to be:
{
"code": 400,
"reason": "Bad Request",
"message": "Invalid parameters were given on search request",
"errors": [
"left corner and right corner are flipped: 110.0 vs. 100.0"
]
}
Edited by An Ngo