diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-07-10 21:27:31 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-10 21:27:31 +0300 |
| commit | 50f7bf57f45a26362376be37e89128bac9195edc (patch) | |
| tree | 150b82f74797512e2bd6970dfe702d447ffc256e /docs/swagger.yaml | |
| parent | docs: update maps table ddl (#168) (diff) | |
| download | lphub-50f7bf57f45a26362376be37e89128bac9195edc.tar.gz lphub-50f7bf57f45a26362376be37e89128bac9195edc.tar.bz2 lphub-50f7bf57f45a26362376be37e89128bac9195edc.zip | |
feat: return portal counts for each cat in chapter select (#175)
Diffstat (limited to '')
| -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: |