forked from pact-foundation/pact-ruby-standalone-e2e-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoo-bar.json
46 lines (46 loc) · 926 Bytes
/
foo-bar.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"consumer": {
"name": "Foo"
},
"provider": {
"name": "Bar"
},
"interactions": [
{
"description": "General Meetup Categories 6",
"providerState": "A GET request to return JSON using Meetups category api under version 2 6",
"request": {
"method": "GET",
"path": "/foo",
"headers": {
}
},
"response": {
"status": 200,
"headers": {
},
"body": {
"results": [
{
"name": "Games",
"sort_name": "Games",
"id": 11,
"shortname": "Games"
},
{
"name": "Book Clubs",
"sort_name": "Book Clubs",
"id": 18,
"shortname": "Book Clubs"
}
]
}
}
}
],
"metadata": {
"pactSpecification": {
"version": "2.0.0"
}
}
}