aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.json
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-04-24 23:12:39 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-04-24 23:12:39 +0300
commit0ea2d185b8ae6f5f56620e0bb6b087114c5f061f (patch)
tree9e527ad2b742d3ed73b6b94d37fc28fca8d9a9ae /docs/swagger.json
parentfeat: map summary history done (#38) (diff)
downloadlphub-0ea2d185b8ae6f5f56620e0bb6b087114c5f061f.tar.gz
lphub-0ea2d185b8ae6f5f56620e0bb6b087114c5f061f.tar.bz2
lphub-0ea2d185b8ae6f5f56620e0bb6b087114c5f061f.zip
doc: update history model (#38)
Diffstat (limited to 'docs/swagger.json')
-rw-r--r--docs/swagger.json25
1 files changed, 21 insertions, 4 deletions
diff --git a/docs/swagger.json b/docs/swagger.json
index 4f3e868..e4bbb59 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -613,6 +613,20 @@
613 } 613 }
614 } 614 }
615 }, 615 },
616 "models.MapHistory": {
617 "type": "object",
618 "properties": {
619 "date": {
620 "type": "string"
621 },
622 "runner_name": {
623 "type": "string"
624 },
625 "score_count": {
626 "type": "integer"
627 }
628 }
629 },
616 "models.MapRecords": { 630 "models.MapRecords": {
617 "type": "object", 631 "type": "object",
618 "properties": { 632 "properties": {
@@ -628,8 +642,11 @@
628 "description": { 642 "description": {
629 "type": "string" 643 "type": "string"
630 }, 644 },
631 "first_completion": { 645 "history": {
632 "type": "string" 646 "type": "array",
647 "items": {
648 "$ref": "#/definitions/models.MapHistory"
649 }
633 }, 650 },
634 "rating": { 651 "rating": {
635 "type": "number" 652 "type": "number"
@@ -672,7 +689,7 @@
672 "steam_id": { 689 "steam_id": {
673 "type": "string" 690 "type": "string"
674 }, 691 },
675 "username": { 692 "user_name": {
676 "type": "string" 693 "type": "string"
677 } 694 }
678 } 695 }
@@ -747,7 +764,7 @@
747 "user_id": { 764 "user_id": {
748 "type": "string" 765 "type": "string"
749 }, 766 },
750 "username": { 767 "user_name": {
751 "type": "string" 768 "type": "string"
752 } 769 }
753 } 770 }