Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only validate the first element of json array #20

Open
RaymondHsu opened this issue Jul 2, 2015 · 1 comment
Open

only validate the first element of json array #20

RaymondHsu opened this issue Jul 2, 2015 · 1 comment

Comments

@RaymondHsu
Copy link

In my json schema, I define some parameters are "required" within a json array. If I miss those "required" parameters in the first element of the json array, the validation logic will detect and report error. If I miss the "required" parameters in the second element or after of json array, the validation logic does not detect the error and report success instead.

@daveclayton
Copy link
Contributor

Hi @RaymondHsu do you have some example code for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants