You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using your library to validate requests, and it's been working great except for when it comes to additionalProperties.
The two methods I've tried of getting this to work are:
Specify in the the request object that:
required:
-additionalProperties
Specify in the referenced object within additionalProperties that each field is required.
With the first method, I always get failed validation because it is looking for an "additionalProperties" key. On the second method, if I don't include one of the fields that's required in the additionalProperties, I do not get a validation error.
The text was updated successfully, but these errors were encountered:
I've been using your library to validate requests, and it's been working great except for when it comes to additionalProperties.
The two methods I've tried of getting this to work are:
required:
-additionalProperties
With the first method, I always get failed validation because it is looking for an "additionalProperties" key. On the second method, if I don't include one of the fields that's required in the additionalProperties, I do not get a validation error.
The text was updated successfully, but these errors were encountered: