node-consumer-pact-validation
Version:
A consumer pact generator written for pure nodeJS
30 lines • 577 B
JSON
{
"match": true,
"comment": "Requests match",
"expected" : {
"method": "POST",
"path": "/",
"query": "",
"headers": {"Content-Type": "application/json"},
"body": {
"alligator":{
"name": "Mary",
"feet": 4,
"favouriteColours": ["red","blue"]
}
}
},
"actual": {
"method": "POST",
"path": "/",
"query": "",
"headers": {"Content-Type": "application/json"},
"body": {
"alligator":{
"feet": 4,
"name": "Mary",
"favouriteColours": ["red","blue"]
}
}
}
}