-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
When using frameworks like Huma it seems that the error handling in place does not extract the provided information in case of e.g. 422 errors (treating it as error correctly, but not extracting the error details from the response body. Example:
Content-Type: application/problem+json
{"$schema":"http://localhost:8145/schemas/ErrorModel.json","title":"Unprocessable Entity","status":422,"detail":"validation failed","errors":[{"message":"expected object","location":"body.commonAnnotations"}]}
DoD
- Implement parsing of RFC 9457 errors
- Add Test(s)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request