-
-
Notifications
You must be signed in to change notification settings - Fork 74
errors for missing required properties #175
Copy link
Copy link
Closed
Labels
Description
currently, if a required property is missing, the error message lists _all the required properties. could we consider listing only the missing ones?
>>> fastjsonschema.validate({'required': ['foo', 'bar']}, {'foo': 1})
JsonSchemaValueException: data must contain ['foo', 'bar'] properties
this is particularly useful with a large number of required properties where eg only one may be missing
Reactions are currently unavailable