mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-17 23:14:23 +01:00
* WithDescription * WithConsumer / WithProvider * x * . * . * . * . * fix * pact * nullable * ficx * . * fix
32 lines
663 B
JSON
32 lines
663 B
JSON
{
|
|
"Consumer": {
|
|
"Name": "Something API Consumer Get"
|
|
},
|
|
"Interactions": [
|
|
{
|
|
"ProviderState": "A GET request to retrieve the something",
|
|
"Request": {
|
|
"Headers": {
|
|
"Accept": "application/json"
|
|
},
|
|
"Method": "GET",
|
|
"Path": "/tester",
|
|
"Query": "q1=test&q2=ok"
|
|
},
|
|
"Response": {
|
|
"Body": {
|
|
"Id": "tester",
|
|
"FirstName": "Totally",
|
|
"LastName": "Awesome"
|
|
},
|
|
"Headers": {
|
|
"Content-Type": "application/json; charset=utf-8"
|
|
},
|
|
"Status": 200
|
|
}
|
|
}
|
|
],
|
|
"Provider": {
|
|
"Name": "Something API"
|
|
}
|
|
} |