diff options
Diffstat (limited to '')
| -rw-r--r-- | docs/docs.go | 25 |
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 | } |