Files
WireMock.Net/test/WireMock.Net.Tests/Pact/files/pact-get.json
Stef Heyenrath 020cc15420 Correctly map the Pact Interaction Description property (#1331)
* Correctly map the Pact Interaction Description property

* Update src/WireMock.Net.Minimal/Serialization/PactMapper.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* post

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-18 08:41:04 +02:00

32 lines
661 B
JSON

{
"consumer": {
"name": "Something API Consumer Get"
},
"interactions": [
{
"description": "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"
}
}