diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-24 23:12:39 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-24 23:12:39 +0300 |
| commit | 0ea2d185b8ae6f5f56620e0bb6b087114c5f061f (patch) | |
| tree | 9e527ad2b742d3ed73b6b94d37fc28fca8d9a9ae /docs/swagger.yaml | |
| parent | feat: map summary history done (#38) (diff) | |
| download | lphub-0ea2d185b8ae6f5f56620e0bb6b087114c5f061f.tar.gz lphub-0ea2d185b8ae6f5f56620e0bb6b087114c5f061f.tar.bz2 lphub-0ea2d185b8ae6f5f56620e0bb6b087114c5f061f.zip | |
doc: update history model (#38)
Diffstat (limited to 'docs/swagger.yaml')
| -rw-r--r-- | docs/swagger.yaml | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 873dbee..e24ca39 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml | |||
| @@ -28,6 +28,15 @@ definitions: | |||
| 28 | no_sla: | 28 | no_sla: |
| 29 | type: integer | 29 | type: integer |
| 30 | type: object | 30 | type: object |
| 31 | models.MapHistory: | ||
| 32 | properties: | ||
| 33 | date: | ||
| 34 | type: string | ||
| 35 | runner_name: | ||
| 36 | type: string | ||
| 37 | score_count: | ||
| 38 | type: integer | ||
| 39 | type: object | ||
| 31 | models.MapRecords: | 40 | models.MapRecords: |
| 32 | properties: | 41 | properties: |
| 33 | records: {} | 42 | records: {} |
| @@ -38,8 +47,10 @@ definitions: | |||
| 38 | $ref: '#/definitions/models.MapCategoryScores' | 47 | $ref: '#/definitions/models.MapCategoryScores' |
| 39 | description: | 48 | description: |
| 40 | type: string | 49 | type: string |
| 41 | first_completion: | 50 | history: |
| 42 | type: string | 51 | items: |
| 52 | $ref: '#/definitions/models.MapHistory' | ||
| 53 | type: array | ||
| 43 | rating: | 54 | rating: |
| 44 | type: number | 55 | type: number |
| 45 | routers: | 56 | routers: |
| @@ -67,7 +78,7 @@ definitions: | |||
| 67 | type: array | 78 | type: array |
| 68 | steam_id: | 79 | steam_id: |
| 69 | type: string | 80 | type: string |
| 70 | username: | 81 | user_name: |
| 71 | type: string | 82 | type: string |
| 72 | type: object | 83 | type: object |
| 73 | models.RankingsResponse: | 84 | models.RankingsResponse: |
| @@ -117,7 +128,7 @@ definitions: | |||
| 117 | type: integer | 128 | type: integer |
| 118 | user_id: | 129 | user_id: |
| 119 | type: string | 130 | type: string |
| 120 | username: | 131 | user_name: |
| 121 | type: string | 132 | type: string |
| 122 | type: object | 133 | type: object |
| 123 | host: lp.ardapektezol.com/api | 134 | host: lp.ardapektezol.com/api |