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.json | |
| 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.json | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/docs/swagger.json b/docs/swagger.json index 6fe6320..a773ac7 100644 --- a/docs/swagger.json +++ b/docs/swagger.json | |||
| @@ -1361,7 +1361,7 @@ | |||
| 1361 | "maps": { | 1361 | "maps": { |
| 1362 | "type": "array", | 1362 | "type": "array", |
| 1363 | "items": { | 1363 | "items": { |
| 1364 | "$ref": "#/definitions/models.MapShort" | 1364 | "$ref": "#/definitions/models.MapSelect" |
| 1365 | } | 1365 | } |
| 1366 | } | 1366 | } |
| 1367 | } | 1367 | } |
| @@ -1993,6 +1993,32 @@ | |||
| 1993 | } | 1993 | } |
| 1994 | } | 1994 | } |
| 1995 | }, | 1995 | }, |
| 1996 | "models.MapSelect": { | ||
| 1997 | "type": "object", | ||
| 1998 | "properties": { | ||
| 1999 | "category_portals": { | ||
| 2000 | "type": "array", | ||
| 2001 | "items": { | ||
| 2002 | "$ref": "#/definitions/models.CategoryPortal" | ||
| 2003 | } | ||
| 2004 | }, | ||
| 2005 | "difficulty": { | ||
| 2006 | "type": "integer" | ||
| 2007 | }, | ||
| 2008 | "id": { | ||
| 2009 | "type": "integer" | ||
| 2010 | }, | ||
| 2011 | "image": { | ||
| 2012 | "type": "string" | ||
| 2013 | }, | ||
| 2014 | "is_disabled": { | ||
| 2015 | "type": "boolean" | ||
| 2016 | }, | ||
| 2017 | "name": { | ||
| 2018 | "type": "string" | ||
| 2019 | } | ||
| 2020 | } | ||
| 2021 | }, | ||
| 1996 | "models.MapShort": { | 2022 | "models.MapShort": { |
| 1997 | "type": "object", | 2023 | "type": "object", |
| 1998 | "properties": { | 2024 | "properties": { |