{
"match": true,
"comment": "XML Tag with at least one element match",
"expected" : {
"method": "POST",
"path": "/",
"query": {},
"headers": {"Content-Type": "application/xml"},
"matchingRules": {
"body": {
"$.animals": {
"matchers": [
{
"min": 1,
"match": "type"
}
]
},
"$.animals.alligator": {
"matchers": [
{
"match": "type"
}
]
}
}
},
"body": {
"contentType": "application/xml",
"encoded": false,
"content": ""
}
},
"actual": {
"method": "POST",
"path": "/",
"query": {},
"headers": {"Content-Type": "application/xml"},
"body": {
"contentType": "application/xml",
"encoded": false,
"content": ""
}
}
}