Sha256: ac2f2be0a730e6c8dfbdeb368c3864c5414af95828301c29391a38037d4c2050

Contents?: true

Size: 1.04 KB

Versions: 28

Compression:

Stored size: 1.04 KB

Contents

{
  "provider": {
    "name": "Some Provider"
  },
  "consumer": {
    "name": "Some Consumer"
  },
  "interactions": [
    {
      "description": "a request to list all alligators in Tel Aviv",
      "providerStates": [
        {"name": "alligators exist", "params" : {}}, 
        {"name": "the city of Tel Aviv has a zoo", "params" : {}},
        {"name": "the zoo keeps record of its alligator population", "params" : {}}
      ],
      "params": {},
      "request": {
        "method": "get",
        "path": "/alligators"
      },
      "response": {
        "headers" : {"Content-Type": "application/json"},
        "status" : 200,
        "body" : {
          "alligators": [{
            "name": "Bob",
            "phoneNumber" : {
              "json_class": "Pact::Term",
              "data": {
                "generate": "12345678",
                "matcher": {"json_class":"Regexp","o":0,"s":"\\d+"}
              }
            }
          }]
        }
      }
    }
  ],
  "metadata": {
    "pactSpecification": {
      "version": "3.0.0"
    }
  }
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
pact_broker-2.89.1 spec/support/markdown_pact_v3.json
pact_broker-2.89.0 spec/support/markdown_pact_v3.json
pact_broker-2.88.0 spec/support/markdown_pact_v3.json
pact_broker-2.87.0 spec/support/markdown_pact_v3.json
pact_broker-2.86.0 spec/support/markdown_pact_v3.json
pact_broker-2.85.1 spec/support/markdown_pact_v3.json
pact_broker-2.85.0 spec/support/markdown_pact_v3.json
pact_broker-2.84.0 spec/support/markdown_pact_v3.json
pact_broker-2.83.0 spec/support/markdown_pact_v3.json
pact_broker-2.82.0 spec/support/markdown_pact_v3.json
pact_broker-2.81.0 spec/support/markdown_pact_v3.json
pact_broker-2.80.0 spec/support/markdown_pact_v3.json
pact_broker-2.79.1 spec/support/markdown_pact_v3.json
pact_broker-2.79.0 spec/support/markdown_pact_v3.json
pact_broker-2.78.1 spec/support/markdown_pact_v3.json
pact_broker-2.78.0 spec/support/markdown_pact_v3.json
pact_broker-2.77.0 spec/support/markdown_pact_v3.json
pact_broker-2.76.2 spec/support/markdown_pact_v3.json
pact_broker-2.76.1 spec/support/markdown_pact_v3.json
pact_broker-2.76.0 spec/support/markdown_pact_v3.json