diff options
Diffstat (limited to 'docs/swagger.yaml')
| -rw-r--r-- | docs/swagger.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 7f370ee..6041c1d 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml | |||
| @@ -53,6 +53,7 @@ definitions: | |||
| 53 | - category_id | 53 | - category_id |
| 54 | - description | 54 | - description |
| 55 | - record_date | 55 | - record_date |
| 56 | - score_count | ||
| 56 | - user_name | 57 | - user_name |
| 57 | type: object | 58 | type: object |
| 58 | handlers.DeleteMapSummaryRequest: | 59 | handlers.DeleteMapSummaryRequest: |
| @@ -97,6 +98,7 @@ definitions: | |||
| 97 | - description | 98 | - description |
| 98 | - record_date | 99 | - record_date |
| 99 | - route_id | 100 | - route_id |
| 101 | - score_count | ||
| 100 | - user_name | 102 | - user_name |
| 101 | type: object | 103 | type: object |
| 102 | handlers.LoginResponse: | 104 | handlers.LoginResponse: |
| @@ -330,6 +332,13 @@ definitions: | |||
| 330 | name: | 332 | name: |
| 331 | type: string | 333 | type: string |
| 332 | type: object | 334 | type: object |
| 335 | models.CategoryPortal: | ||
| 336 | properties: | ||
| 337 | category: | ||
| 338 | $ref: '#/definitions/models.Category' | ||
| 339 | portal_count: | ||
| 340 | type: integer | ||
| 341 | type: object | ||
| 333 | models.Chapter: | 342 | models.Chapter: |
| 334 | properties: | 343 | properties: |
| 335 | id: | 344 | id: |
| @@ -343,6 +352,10 @@ definitions: | |||
| 343 | type: object | 352 | type: object |
| 344 | models.Game: | 353 | models.Game: |
| 345 | properties: | 354 | properties: |
| 355 | category_portals: | ||
| 356 | items: | ||
| 357 | $ref: '#/definitions/models.CategoryPortal' | ||
| 358 | type: array | ||
| 346 | id: | 359 | id: |
| 347 | type: integer | 360 | type: integer |
| 348 | image: | 361 | image: |
| @@ -408,6 +421,8 @@ definitions: | |||
| 408 | type: object | 421 | type: object |
| 409 | models.MapShort: | 422 | models.MapShort: |
| 410 | properties: | 423 | properties: |
| 424 | difficulty: | ||
| 425 | type: integer | ||
| 411 | id: | 426 | id: |
| 412 | type: integer | 427 | type: integer |
| 413 | image: | 428 | image: |
| @@ -416,6 +431,8 @@ definitions: | |||
| 416 | type: boolean | 431 | type: boolean |
| 417 | name: | 432 | name: |
| 418 | type: string | 433 | type: string |
| 434 | portal_count: | ||
| 435 | type: integer | ||
| 419 | type: object | 436 | type: object |
| 420 | models.MapSummary: | 437 | models.MapSummary: |
| 421 | properties: | 438 | properties: |