Sha256: d9d52c86d59c43c49f2a28e609baa29b2322d4911e94e323db141537c07a0053
Contents?: true
Size: 1.45 KB
Versions: 125
Compression:
Stored size: 1.45 KB
Contents
{ "provider": { "name": "Animal Service" }, "consumer": { "name": "Zoo App" }, "interactions": [ { "description": "a request for an alligator", "provider_state": "there is an alligator named Mary", "request": { "method": "get", "path": "/alligators/Mary", "headers": { "Accept": "application/json" } }, "response": { "status": 200, "headers": { "Content-Type": "application/json;charset=utf-8" }, "body": { "name": "Mary" } } }, { "description": "a request for an alligator", "provider_state": "there is not an alligator named Mary", "request": { "method": "get", "path": "/alligators/Mary", "headers": { "Accept": "application/json" } }, "response": { "status": 404 } }, { "description": "a request for an alligator", "provider_state": "an error occurs retrieving an alligator", "request": { "method": "get", "path": "/alligators/Mary", "headers": { "Accept": "application/json" } }, "response": { "status": 500, "headers": { "Content-Type": "application/json;charset=utf-8" }, "body": { "error": "Argh!!!" } } } ], "metadata": { "pactSpecificationVersion": "1.0.0" } }
Version data entries
125 entries across 125 versions & 2 rubygems