Matt (pactflow.io / pact-js / pact-go)
Tatiana
09/30/2022, 11:55 AM{
"consumer": {
"name": "consumer"
},
"interactions": [
{
"description": "a request to get all events",
"providerStates": [
{
"name": "I can get all events"
}
],
"request": {
"method": "GET",
"path": "/events",
"query": {
"limit": [
"10"
],
"name": [
""
],
"offset": [
"0"
]
}
},
"response": {
"body": {
"items": [
{
"id": "1cb9eb9e",
"name": "test event 1",
"teamId": "dummy_tid"
}
],
"totalCount": 1
},
"headers": {
"Content-Type": "application/json"
},
"matchingRules": {
"body": {
"$.items": {
"combine": "AND",
"matchers": [
{
"match": "type"
}
]
},
"$.totalCount": {
"combine": "AND",
"matchers": [
{
"match": "type"
}
]
}
}
},
"status": 200
}
}
],
"metadata": {
"pact-js": {
"version": "10.1.4"
},
"pactRust": {
"ffi": "0.3.11",
"models": "0.4.5"
},
"pactSpecification": {
"version": "3.0.0"
}
},
"provider": {
"name": "provider"
}
}Matt (pactflow.io / pact-js / pact-go)
Tatiana
09/30/2022, 11:57 AM