Sha256: ac2f2be0a730e6c8dfbdeb368c3864c5414af95828301c29391a38037d4c2050
Contents?: true
Size: 1.04 KB
Versions: 28
Compression:
Stored size: 1.04 KB
Contents
{ "provider": { "name": "Some Provider" }, "consumer": { "name": "Some Consumer" }, "interactions": [ { "description": "a request to list all alligators in Tel Aviv", "providerStates": [ {"name": "alligators exist", "params" : {}}, {"name": "the city of Tel Aviv has a zoo", "params" : {}}, {"name": "the zoo keeps record of its alligator population", "params" : {}} ], "params": {}, "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+"} } } }] } } } ], "metadata": { "pactSpecification": { "version": "3.0.0" } } }
Version data entries
28 entries across 28 versions & 1 rubygems