Sha256: ebcf4331ec8549db408be2cce859b939a4a3512fc0c21a1f028bf312d1574661
Contents?: true
Size: 1.92 KB
Versions: 92
Compression:
Stored size: 1.92 KB
Contents
{ "consumer": { "name": "an unknown consumer" }, "provider": { "name": "an unknown provider" }, "interactions": [ { "description": "a test request", "request": { "method": "get", "path": "/weather", "query": "" }, "response": { "status": 200, "headers" : {"Content-type": "application/json"}, "body": {"message" : "this is not the weather you are looking for", "array": [{"foo": "bar"}], "somethingElse" : {"blah" : {"nested" : "that is missing"} }} }, "provider_state": "the weather is cloudy" },{ "description": "another test request", "request": { "method": "get", "path": "/weather", "query": "" }, "response": { "status": 200, "headers" : { "Content-type": { "json_class": "Pact::Term", "data": { "generate": "application/hal+json", "matcher": {"json_class":"Regexp","o":0,"s":"hal"} } }, "X-Special-Header": "something" }, "body": {"message" : "this is not the weather you are looking for"} } },{ "description": "another test request", "provider_state": "a missing provider state", "request": { "method": "get", "path": "/weather", "query": "" }, "response": { "status": 200, "headers" : {"Content-type": "application/json"}, "body": {"message" : "this is not the weather you are looking for"} } } ] }
Version data entries
92 entries across 92 versions & 3 rubygems