Sha256: 077786a17336d2d1d469ca523c33f2c21b668e275d8d78f72383fd07865d01b5

Contents?: true

Size: 741 Bytes

Versions: 22

Compression:

Stored size: 741 Bytes

Contents

{
  "consumer": {
    "name": "some-test-consumer"
  },
  "provider": {
    "name": "an unknown provider"
  },
  "interactions": [
    {
      "description": "a test request",
      "request": {
        "method": "get",
        "path": "/weather",
        "query": ""
      },
      "response": {
        "matchingRules": {
          "$.headers.Content-Type" : {
            "match": "regex", "regex": "json"
          },
          "$.body.message" : {
            "match": "regex", "regex": "sun"
          }
        },
        "status": 200,
        "headers" : {
          "Content-Type": "foo/json"
        },
        "body": {
          "message" : "sunful"
        }
      },
      "provider_state": "the weather is sunny"
    }
  ]
}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
pact-support-1.11.0 spec/fixtures/pact-http-v2.json
pact-support-1.10.3 spec/fixtures/pact-http-v2.json
pact-support-1.10.2 spec/fixtures/pact-http-v2.json
pact-support-1.10.1 spec/fixtures/pact-http-v2.json
pact-support-1.10.0 spec/fixtures/pact-http-v2.json
pact-support-1.9.0 spec/fixtures/pact-http-v2.json
pact-support-1.8.1 spec/fixtures/pact-http-v2.json
pact-support-1.8.0 spec/fixtures/pact-http-v2.json
pact-support-1.7.2 spec/fixtures/pact-http-v2.json
pact-support-1.7.1 spec/fixtures/pact-http-v2.json
pact-support-1.7.0 spec/fixtures/pact-http-v2.json
pact-support-1.6.6 spec/fixtures/pact-http-v2.json
pact-support-1.6.5 spec/fixtures/pact-http-v2.json
pact-support-1.7.0.alpha.1 spec/fixtures/pact-http-v2.json
pact-support-1.6.4 spec/fixtures/pact-http-v2.json
pact-support-1.6.3 spec/fixtures/pact-http-v2.json
pact-support-1.6.2 spec/fixtures/pact-http-v2.json
pact-support-1.6.1 spec/fixtures/pact-http-v2.json
pact-support-1.6.0 spec/fixtures/pact-http-v2.json
pact-support-1.5.2 spec/fixtures/pact-http-v2.json