Sha256: 124a2bb112f6077883c269d9c2123ebeb42ab3cc46f25202fdb154e1ee8fa3bb

Contents?: true

Size: 527 Bytes

Versions: 59

Compression:

Stored size: 527 Bytes

Contents

{
  "description": "a request to make something",
  "providerState" : null,
  "request" : {
    "method" : "POST",
    "path" : "/something",
    "body": {
      "name": "Mary"
    },
    "matchingRules": {
      "$.body.name" : {"regex" : ".+"}
    }
  },
  "response" : {
    "status" : 200,
    "body" : {
      "_links" : {
        "self" : {
          "href" : "http://localhost:1234/things/1"
        }
      }
    },
    "matchingRules" : {
      "$.body._links.self.href": {"regex": "http:\\/\\/.*\\/\\d+"}
    }
  }
}

Version data entries

59 entries across 59 versions & 1 rubygems

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