-
-
Notifications
You must be signed in to change notification settings - Fork 594
Closed
Description
One thing that other validation libraries (e.g. Marshmallow, Cerberus, Django Rest Framework's serializers etc.) often provide, is errors in a format that is itself easily serializable (e.g. a dict). For example:
{
'email': ['"invalid" is not a valid email address.'],
'name': ['Missing data for required field.']
}
It would be nice if jsonschema
would provide errors in a form that can be immediately serialized and sent as part of a 400 response, etc.
Metadata
Metadata
Assignees
Labels
No labels