diff options
Diffstat (limited to 'docs/swagger.json')
| -rw-r--r-- | docs/swagger.json | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/docs/swagger.json b/docs/swagger.json index 1c52fcc..ae83321 100644 --- a/docs/swagger.json +++ b/docs/swagger.json | |||
| @@ -1260,6 +1260,23 @@ | |||
| 1260 | "records": {} | 1260 | "records": {} |
| 1261 | } | 1261 | } |
| 1262 | }, | 1262 | }, |
| 1263 | "handlers.MapShortWithGame": { | ||
| 1264 | "type": "object", | ||
| 1265 | "properties": { | ||
| 1266 | "chapter": { | ||
| 1267 | "type": "string" | ||
| 1268 | }, | ||
| 1269 | "game": { | ||
| 1270 | "type": "string" | ||
| 1271 | }, | ||
| 1272 | "id": { | ||
| 1273 | "type": "integer" | ||
| 1274 | }, | ||
| 1275 | "map": { | ||
| 1276 | "type": "string" | ||
| 1277 | } | ||
| 1278 | } | ||
| 1279 | }, | ||
| 1263 | "handlers.MapSummaryResponse": { | 1280 | "handlers.MapSummaryResponse": { |
| 1264 | "type": "object", | 1281 | "type": "object", |
| 1265 | "properties": { | 1282 | "properties": { |
| @@ -1457,13 +1474,13 @@ | |||
| 1457 | "maps": { | 1474 | "maps": { |
| 1458 | "type": "array", | 1475 | "type": "array", |
| 1459 | "items": { | 1476 | "items": { |
| 1460 | "$ref": "#/definitions/models.MapShort" | 1477 | "$ref": "#/definitions/handlers.MapShortWithGame" |
| 1461 | } | 1478 | } |
| 1462 | }, | 1479 | }, |
| 1463 | "players": { | 1480 | "players": { |
| 1464 | "type": "array", | 1481 | "type": "array", |
| 1465 | "items": { | 1482 | "items": { |
| 1466 | "$ref": "#/definitions/models.UserShort" | 1483 | "$ref": "#/definitions/models.UserShortWithAvatar" |
| 1467 | } | 1484 | } |
| 1468 | } | 1485 | } |
| 1469 | } | 1486 | } |
| @@ -1667,6 +1684,20 @@ | |||
| 1667 | "type": "string" | 1684 | "type": "string" |
| 1668 | } | 1685 | } |
| 1669 | } | 1686 | } |
| 1687 | }, | ||
| 1688 | "models.UserShortWithAvatar": { | ||
| 1689 | "type": "object", | ||
| 1690 | "properties": { | ||
| 1691 | "avatar_link": { | ||
| 1692 | "type": "string" | ||
| 1693 | }, | ||
| 1694 | "steam_id": { | ||
| 1695 | "type": "string" | ||
| 1696 | }, | ||
| 1697 | "user_name": { | ||
| 1698 | "type": "string" | ||
| 1699 | } | ||
| 1700 | } | ||
| 1670 | } | 1701 | } |
| 1671 | } | 1702 | } |
| 1672 | } \ No newline at end of file | 1703 | } \ No newline at end of file |