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