Sha256: 6e8a1d9ab4c30e7b4f1e0bdc8082739448f326c594f1fb342e13931f2b7fcdde
Contents?: true
Size: 1.6 KB
Versions: 111
Compression:
Stored size: 1.6 KB
Contents
{ "consumer": { "name": "Example App" }, "provider": { "name": "Example API" }, "interactions": [ { "description": "a request for an alligator", "providerState": "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" }, "matchingRules": { "$.body.name": { "match": "type" } } } }, { "description": "a request for an alligator", "providerState": "there is not an alligator named Mary", "request": { "method": "get", "path": "/alligators/Mary", "headers": { "Accept": "application/json" } }, "response": { "status": 404, "headers": { } } }, { "description": "a request for an alligator", "providerState": "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": { "pactSpecification": { "version": "2.0.0" } } }
Version data entries
111 entries across 111 versions & 1 rubygems