Some checks failed
test / Test completion check (push) Has been cancelled
test / test (20, macos-latest) (push) Has been cancelled
test / test (20, ubuntu-latest) (push) Has been cancelled
test / test (20, windows-latest) (push) Has been cancelled
test / test (22, macos-latest) (push) Has been cancelled
test / test (22, ubuntu-latest) (push) Has been cancelled
test / test (22, windows-latest) (push) Has been cancelled
test / test (24, macos-latest) (push) Has been cancelled
test / test (24, ubuntu-latest) (push) Has been cancelled
test / test (24, windows-latest) (push) Has been cancelled
75 lines
No EOL
1.4 KiB
JSON
75 lines
No EOL
1.4 KiB
JSON
{
|
|
"consumer": {
|
|
"name": "GettingStartedOrderWeb"
|
|
},
|
|
"interactions": [
|
|
{
|
|
"description": "a request for orders",
|
|
"providerStates": [
|
|
{
|
|
"name": "there are orders"
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "GET",
|
|
"path": "/orders"
|
|
},
|
|
"response": {
|
|
"body": [
|
|
{
|
|
"id": 1,
|
|
"items": [
|
|
{
|
|
"name": "burger",
|
|
"quantity": 2,
|
|
"value": 100
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"headers": {
|
|
"Content-Type": "application/json; charset=utf-8"
|
|
},
|
|
"matchingRules": {
|
|
"body": {
|
|
"$": {
|
|
"combine": "AND",
|
|
"matchers": [
|
|
{
|
|
"match": "type",
|
|
"min": 1
|
|
}
|
|
]
|
|
},
|
|
"$[*].items": {
|
|
"combine": "AND",
|
|
"matchers": [
|
|
{
|
|
"match": "type",
|
|
"min": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"header": {}
|
|
},
|
|
"status": 200
|
|
}
|
|
}
|
|
],
|
|
"metadata": {
|
|
"pact-js": {
|
|
"version": "12.1.0"
|
|
},
|
|
"pactRust": {
|
|
"ffi": "0.4.7",
|
|
"models": "1.1.9"
|
|
},
|
|
"pactSpecification": {
|
|
"version": "3.0.0"
|
|
}
|
|
},
|
|
"provider": {
|
|
"name": "GettingStartedOrderApi"
|
|
}
|
|
} |