Slide 22
Slide 22 text
1BDU
w QBDUpMFʢҰ෦ʣ
{
"consumer": {
"name": "ConsumerApp"
},
"provider": {
"name": "ProviderApp"
},
"interactions": [
{
"description": "a request for recipes",
"provider_state": "there are 2 recipes",
"request": {
"method": "get",
"path": "/v1/recipes"
},
"response": {
"status": 200,
"headers": {
"Content-Type": {
"json_class": "Pact::Term",
"data": {
"generate": "application/json",
"matcher": {
"json_class": "Regexp",
"o": 0,
"s": "application/json"
}
}