Distractic
11/03/2023, 11:05 PM{
...
"data": { // error case
"errors": [ .. ]
}
...
}
or
{
...
"data": { // real object here
"key1": "..",
"key2": ".."
}
...
}
So to simplify the error management, I would like to use Response validator but if I read the body in the validationResponse, I can't read it where the call is processed.
Have you a solution about that ?ephemient
11/03/2023, 11:32 PMAndreas Scheja
11/03/2023, 11:38 PMDistractic
11/04/2023, 1:02 AM