node-consumer-pact-validation
Version:
A consumer pact generator written for pure nodeJS
27 lines • 477 B
JSON
{
"match": false,
"comment": "Missing key alligator name",
"expected" : {
"method": "POST",
"path": "/",
"query": "",
"headers": {"Content-Type": "application/json"},
"body": {
"alligator":{
"name": "Mary",
"age": 3
}
}
},
"actual": {
"method": "POST",
"path": "/",
"query": "",
"headers": {"Content-Type": "application/json"},
"body": {
"alligator": {
"age": 3
}
}
}
}