diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/docs.go | 7 | ||||
| -rw-r--r-- | docs/swagger.json | 7 | ||||
| -rw-r--r-- | docs/swagger.yaml | 6 |
3 files changed, 14 insertions, 6 deletions
diff --git a/docs/docs.go b/docs/docs.go index 5a107c1..bb2738c 100644 --- a/docs/docs.go +++ b/docs/docs.go | |||
| @@ -1794,7 +1794,7 @@ const docTemplate = `{ | |||
| 1794 | "p2sr": { | 1794 | "p2sr": { |
| 1795 | "type": "string" | 1795 | "type": "string" |
| 1796 | }, | 1796 | }, |
| 1797 | "stream": { | 1797 | "steam": { |
| 1798 | "type": "string" | 1798 | "type": "string" |
| 1799 | }, | 1799 | }, |
| 1800 | "twitch": { | 1800 | "twitch": { |
| @@ -1933,11 +1933,14 @@ const docTemplate = `{ | |||
| 1933 | "models.UserRanking": { | 1933 | "models.UserRanking": { |
| 1934 | "type": "object", | 1934 | "type": "object", |
| 1935 | "properties": { | 1935 | "properties": { |
| 1936 | "placement": { | ||
| 1937 | "type": "integer" | ||
| 1938 | }, | ||
| 1936 | "total_score": { | 1939 | "total_score": { |
| 1937 | "type": "integer" | 1940 | "type": "integer" |
| 1938 | }, | 1941 | }, |
| 1939 | "user": { | 1942 | "user": { |
| 1940 | "$ref": "#/definitions/models.UserShort" | 1943 | "$ref": "#/definitions/models.UserShortWithAvatar" |
| 1941 | } | 1944 | } |
| 1942 | } | 1945 | } |
| 1943 | }, | 1946 | }, |
diff --git a/docs/swagger.json b/docs/swagger.json index d118ce7..ffc30a9 100644 --- a/docs/swagger.json +++ b/docs/swagger.json | |||
| @@ -1787,7 +1787,7 @@ | |||
| 1787 | "p2sr": { | 1787 | "p2sr": { |
| 1788 | "type": "string" | 1788 | "type": "string" |
| 1789 | }, | 1789 | }, |
| 1790 | "stream": { | 1790 | "steam": { |
| 1791 | "type": "string" | 1791 | "type": "string" |
| 1792 | }, | 1792 | }, |
| 1793 | "twitch": { | 1793 | "twitch": { |
| @@ -1926,11 +1926,14 @@ | |||
| 1926 | "models.UserRanking": { | 1926 | "models.UserRanking": { |
| 1927 | "type": "object", | 1927 | "type": "object", |
| 1928 | "properties": { | 1928 | "properties": { |
| 1929 | "placement": { | ||
| 1930 | "type": "integer" | ||
| 1931 | }, | ||
| 1929 | "total_score": { | 1932 | "total_score": { |
| 1930 | "type": "integer" | 1933 | "type": "integer" |
| 1931 | }, | 1934 | }, |
| 1932 | "user": { | 1935 | "user": { |
| 1933 | "$ref": "#/definitions/models.UserShort" | 1936 | "$ref": "#/definitions/models.UserShortWithAvatar" |
| 1934 | } | 1937 | } |
| 1935 | } | 1938 | } |
| 1936 | }, | 1939 | }, |
diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 3e83fe8..6cd460f 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml | |||
| @@ -351,7 +351,7 @@ definitions: | |||
| 351 | properties: | 351 | properties: |
| 352 | p2sr: | 352 | p2sr: |
| 353 | type: string | 353 | type: string |
| 354 | stream: | 354 | steam: |
| 355 | type: string | 355 | type: string |
| 356 | twitch: | 356 | twitch: |
| 357 | type: string | 357 | type: string |
| @@ -441,10 +441,12 @@ definitions: | |||
| 441 | type: object | 441 | type: object |
| 442 | models.UserRanking: | 442 | models.UserRanking: |
| 443 | properties: | 443 | properties: |
| 444 | placement: | ||
| 445 | type: integer | ||
| 444 | total_score: | 446 | total_score: |
| 445 | type: integer | 447 | type: integer |
| 446 | user: | 448 | user: |
| 447 | $ref: '#/definitions/models.UserShort' | 449 | $ref: '#/definitions/models.UserShortWithAvatar' |
| 448 | type: object | 450 | type: object |
| 449 | models.UserShort: | 451 | models.UserShort: |
| 450 | properties: | 452 | properties: |