diff options
Diffstat (limited to 'docs/swagger.yaml')
| -rw-r--r-- | docs/swagger.yaml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 6041c1d..bdfed28 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml | |||
| @@ -6,7 +6,7 @@ definitions: | |||
| 6 | $ref: '#/definitions/models.Chapter' | 6 | $ref: '#/definitions/models.Chapter' |
| 7 | maps: | 7 | maps: |
| 8 | items: | 8 | items: |
| 9 | $ref: '#/definitions/models.MapShort' | 9 | $ref: '#/definitions/models.MapSelect' |
| 10 | type: array | 10 | type: array |
| 11 | type: object | 11 | type: object |
| 12 | handlers.ChaptersResponse: | 12 | handlers.ChaptersResponse: |
| @@ -419,6 +419,23 @@ definitions: | |||
| 419 | showcase: | 419 | showcase: |
| 420 | type: string | 420 | type: string |
| 421 | type: object | 421 | type: object |
| 422 | models.MapSelect: | ||
| 423 | properties: | ||
| 424 | category_portals: | ||
| 425 | items: | ||
| 426 | $ref: '#/definitions/models.CategoryPortal' | ||
| 427 | type: array | ||
| 428 | difficulty: | ||
| 429 | type: integer | ||
| 430 | id: | ||
| 431 | type: integer | ||
| 432 | image: | ||
| 433 | type: string | ||
| 434 | is_disabled: | ||
| 435 | type: boolean | ||
| 436 | name: | ||
| 437 | type: string | ||
| 438 | type: object | ||
| 422 | models.MapShort: | 439 | models.MapShort: |
| 423 | properties: | 440 | properties: |
| 424 | difficulty: | 441 | difficulty: |