node-consumer-pact-validation
Version:
A consumer pact generator written for pure nodeJS
26 lines • 471 B
JSON
{
"match": false,
"comment": "Incorrect value at alligator name",
"expected" : {
"method": "POST",
"path": "/",
"query": "",
"headers": {"Content-Type": "application/json"},
"body": {
"alligator":{
"name": "Mary"
}
}
},
"actual": {
"method": "POST",
"path": "/",
"query": "",
"headers": {"Content-Type": "application/json"},
"body": {
"alligator":{
"name": "Fred"
}
}
}
}