-
-
Notifications
You must be signed in to change notification settings - Fork 886
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
Catch Enum Errors value #2475
Comments
Hi @Meriyemelhajoui can you please provide as simple an example as possible using Runkit (it is limited to v8.12.0 but should be good for most issues). The simpler you can make the example the better the chance I have of understanding and investigating. |
Given this example of schema that requires that the user should enter a specific value for a field : |
This syntax |
Hello , I m using AJV Compiler to validate JSON Data against a defined Schemas , and I m using Literal or Enum to allow only a specific Values :
However , during validation the compiler doesn't show all allowed values , it only shows :
Can anyone assist on that , is it related to my validation logic or the AJV Compiler does catch errros for enum or literal values only for the first value ?!
The text was updated successfully, but these errors were encountered: