{
"fields": {
"headers": {
"kind": null,
"values": {},
"errors": []
},
"body": {
"kind": null,
"values": {},
"errors": [
{
"message": "Validator error: unknown format \"alphanumeric\" is used in schema at path \"#/properties/a\""
}
]
},
"statusCode": {
"kind": null,
"values": {},
"errors": []
}
},
"valid": false
}
Current behavior
result.fields.body.values is an empty object. It misses values.actual.
Expected behavior
result.fields.body.values.actual is set to the actually validated value.
result.fields.body.values.expected is left empty, because it's a validation against JSON Schema, which is not represented in the expected value of the validation result.
Setup
Validate the following JSON Schema against a matching body:
See the next validation result:
Current behavior
result.fields.body.values
is an empty object. It missesvalues.actual
.Expected behavior
result.fields.body.values.actual
is set to the actually validated value.result.fields.body.values.expected
is left empty, because it's a validation against JSON Schema, which is not represented in the expected value of the validation result.