Validation failure of enum value
Opened this issue · 1 comments
pcpiela commented
After calling the render method with the following schema and initial data, calling the validate method returns an incorrect result of true.
schema:
{
"type": "object",
"properties": {
"id": {
"type": "string",
"enum": ["good"]
}
}
}
Data to be validated:
{
"id": "bad"
}
peeyush12345 commented
{
"type": "object",
"properties": {
"id": {
"type": "string",
"enum": ["good", "bad"]
}
}
}