node-consumer-pact-validation
Version:
A consumer pact generator written for pure nodeJS
27 lines • 393 B
JSON
{
"match": false,
"comment": "array with type matcher mismatch",
"expected": {
"headers": {},
"body" : {
"myDates": [
10
]
},
"matchingRules" : {
"$.body.myDates[*]" : {
"match": "type"
}
}
},
"actual": {
"headers": {},
"body": {
"myDates": [
20,
5,
"100299"
]
}
}
}