aboutsummaryrefslogtreecommitdiff
path: root/docs/docs.go
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/docs.go
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/docs.go')
-rw-r--r--docs/docs.go25
1 files changed, 21 insertions, 4 deletions
diff --git a/docs/docs.go b/docs/docs.go
index 022814a..9883679 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -620,6 +620,20 @@ const docTemplate = `{
620 } 620 }
621 } 621 }
622 }, 622 },
623 "models.MapHistory": {
624 "type": "object",
625 "properties": {
626 "date": {
627 "type": "string"
628 },
629 "runner_name": {
630 "type": "string"
631 },
632 "score_count": {
633 "type": "integer"
634 }
635 }
636 },
623 "models.MapRecords": { 637 "models.MapRecords": {
624 "type": "object", 638 "type": "object",
625 "properties": { 639 "properties": {
@@ -635,8 +649,11 @@ const docTemplate = `{
635 "description": { 649 "description": {
636 "type": "string" 650 "type": "string"
637 }, 651 },
638 "first_completion": { 652 "history": {
639 "type": "string" 653 "type": "array",
654 "items": {
655 "$ref": "#/definitions/models.MapHistory"
656 }
640 }, 657 },
641 "rating": { 658 "rating": {
642 "type": "number" 659 "type": "number"
@@ -679,7 +696,7 @@ const docTemplate = `{
679 "steam_id": { 696 "steam_id": {
680 "type": "string" 697 "type": "string"
681 }, 698 },
682 "username": { 699 "user_name": {
683 "type": "string" 700 "type": "string"
684 } 701 }
685 } 702 }
@@ -754,7 +771,7 @@ const docTemplate = `{
754 "user_id": { 771 "user_id": {
755 "type": "string" 772 "type": "string"
756 }, 773 },
757 "username": { 774 "user_name": {
758 "type": "string" 775 "type": "string"
759 } 776 }
760 } 777 }