Skip to content

Instantly share code, notes, and snippets.

@uglyog
Last active June 15, 2019 10:59
Show Gist options
  • Save uglyog/e608c4973fc3bfeeeade to your computer and use it in GitHub Desktop.
Save uglyog/e608c4973fc3bfeeeade to your computer and use it in GitHub Desktop.
{
"provider": {
"name": "Event API"
},
"consumer": {
"name": "Source System"
},
"interactions": [
{
"description": "A POST request with an event",
"request": {
"method": "post",
"path": "/events",
"body": {
"eventId": "7622cb68-3ee5-4f93-a32b-da82f3ff95b5",
"timestamp": "2014-05-13 02:03:33 UTC",
"host": null,
"remoteAddress": null,
"eventType": null,
"user": null
},
"headers": {
"Content-Type": "application/json"
}
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
}
}
}
],
"metadata": {
"pactSpecificationVersion": "1.0.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment