-
-
Notifications
You must be signed in to change notification settings - Fork 367
Closed
Description
When validating simple input data (GET or POST) I use CHECK_MODE_TYPE_CAST for validating.
This work good when doing simple check, but when nested in allOf the validation breaks.
Schema:
{
"properties": {
"test": {
"type": "integer"
}
}
}Data:
{
"test": "1"
}Result: OK
But with the following schema:
{
"properties": {
"test": {
"allOf": [
{
"type": "integer"
}
]
}
}
}Result: String value found, but an integer is required + Failed to match all schemas
Metadata
Metadata
Assignees
Labels
No labels