Sha256: 00fb6e1b892fe2d821869d25abefb011557423f699fd713be0289593d821889f
Contents?: true
Size: 1.15 KB
Versions: 110
Compression:
Stored size: 1.15 KB
Contents
{ "provider": { "name": "Some Provider" }, "consumer": { "name": "Some Consumer" }, "interactions": [ { "description": "a request for alligators in BrĂ¼ssel", "provider_state": "alligators exist", "request": { "method": "get", "path": "/alligators" }, "response": { "headers" : {"Content-Type": "application/json"}, "status" : 200, "body" : { "alligators": [{ "name": "Bob", "phoneNumber" : { "json_class": "Pact::Term", "data": { "generate": "12345678", "matcher": {"json_class":"Regexp","o":0,"s":"\\d+"} } } }] } } },{ "description": "a request for polar bears", "provider_state": null, "request": { "method": "get", "path": "/polar-bears" }, "response": { "headers" : {"Content-Type": "application/json"}, "status" : 404, "body" : { "message": "Sorry, due to climate change, the polar bears are currently unavailable." } } } ] }
Version data entries
110 entries across 110 versions & 1 rubygems