Skip to content

Commit aa80ac8

Browse files
committed
Create contract for Contracto Retrofit.
1 parent 4e740cc commit aa80ac8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

my_data.con.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"request": {
3+
"http_method": "get"
4+
"path": "/my/data"
5+
"meta": {
6+
"request": {
7+
8+
},
9+
"response": {
10+
"body": {
11+
"type": "object",
12+
"embedded": [
13+
{
14+
"name": "id",
15+
"type": "string"
16+
}
17+
]
18+
}
19+
}
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)