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.5.1 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.5.0 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.4.0 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.3.1 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.3.0 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.2.99.alpha.1 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.3.0.alpha.2 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.3.0.alpha.1 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.2.5 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.2.4 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.2.3 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.2.2 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.2.1 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.2.0 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.1.8 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.1.7 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.1.6 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.1.5 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.1.4 spec/fixtures/interaction-with-matching-rules.json
pact-support-1.1.3 spec/fixtures/interaction-with-matching-rules.json