aboutsummaryrefslogtreecommitdiff
path: root/docs/docs.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/docs.go35
1 files changed, 33 insertions, 2 deletions
diff --git a/docs/docs.go b/docs/docs.go
index 2461700..1db1bba 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -1267,6 +1267,23 @@ const docTemplate = `{
1267 "records": {} 1267 "records": {}
1268 } 1268 }
1269 }, 1269 },
1270 "handlers.MapShortWithGame": {
1271 "type": "object",
1272 "properties": {
1273 "chapter": {
1274 "type": "string"
1275 },
1276 "game": {
1277 "type": "string"
1278 },
1279 "id": {
1280 "type": "integer"
1281 },
1282 "map": {
1283 "type": "string"
1284 }
1285 }
1286 },
1270 "handlers.MapSummaryResponse": { 1287 "handlers.MapSummaryResponse": {
1271 "type": "object", 1288 "type": "object",
1272 "properties": { 1289 "properties": {
@@ -1464,13 +1481,13 @@ const docTemplate = `{
1464 "maps": { 1481 "maps": {
1465 "type": "array", 1482 "type": "array",
1466 "items": { 1483 "items": {
1467 "$ref": "#/definitions/models.MapShort" 1484 "$ref": "#/definitions/handlers.MapShortWithGame"
1468 } 1485 }
1469 }, 1486 },
1470 "players": { 1487 "players": {
1471 "type": "array", 1488 "type": "array",
1472 "items": { 1489 "items": {
1473 "$ref": "#/definitions/models.UserShort" 1490 "$ref": "#/definitions/models.UserShortWithAvatar"
1474 } 1491 }
1475 } 1492 }
1476 } 1493 }
@@ -1674,6 +1691,20 @@ const docTemplate = `{
1674 "type": "string" 1691 "type": "string"
1675 } 1692 }
1676 } 1693 }
1694 },
1695 "models.UserShortWithAvatar": {
1696 "type": "object",
1697 "properties": {
1698 "avatar_link": {
1699 "type": "string"
1700 },
1701 "steam_id": {
1702 "type": "string"
1703 },
1704 "user_name": {
1705 "type": "string"
1706 }
1707 }
1677 } 1708 }
1678 } 1709 }
1679}` 1710}`