-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathswagger.json
38 lines (37 loc) · 1.08 KB
/
swagger.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
{
"swagger": "2.0",
"info": {
"title": "Web challenge mock data HTTP API server",
"description": "TODO",
"version": "1.0.0"
},
"host": "localhost:8080",
"basePath": "/api",
"schemes": ["http"],
"paths": {
"/transactions": {
"get": {
"summary": "returns a list of mock transactions",
"description": "Returns a hardcoded, immutable list of mock transactions. Pay special attention to possible values of the following fields: `type`, `status`, `currency`.",
"produces": ["application/json"],
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/eur-rates": {
"get": {
"summary": "returns nullable euro rates for common currencies",
"description": "Returns euro rates for available currencies.\n\nWARNING: rates change every time this endpoint is queried and MAY CONTAIN `null` instead of numeric values!",
"produces": ["application/json"],
"responses": {
"200": {
"description": "OK"
}
}
}
}
}
}