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/docs.go | |
| 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 'docs/docs.go')
| -rw-r--r-- | docs/docs.go | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/docs/docs.go b/docs/docs.go index 688d7ed..13f217d 100644 --- a/docs/docs.go +++ b/docs/docs.go | |||
| @@ -1367,7 +1367,7 @@ const docTemplate = `{ | |||
| 1367 | "maps": { | 1367 | "maps": { |
| 1368 | "type": "array", | 1368 | "type": "array", |
| 1369 | "items": { | 1369 | "items": { |
| 1370 | "$ref": "#/definitions/models.MapShort" | 1370 | "$ref": "#/definitions/models.MapSelect" |
| 1371 | } | 1371 | } |
| 1372 | } | 1372 | } |
| 1373 | } | 1373 | } |
| @@ -1999,6 +1999,32 @@ const docTemplate = `{ | |||
| 1999 | } | 1999 | } |
| 2000 | } | 2000 | } |
| 2001 | }, | 2001 | }, |
| 2002 | "models.MapSelect": { | ||
| 2003 | "type": "object", | ||
| 2004 | "properties": { | ||
| 2005 | "category_portals": { | ||
| 2006 | "type": "array", | ||
| 2007 | "items": { | ||
| 2008 | "$ref": "#/definitions/models.CategoryPortal" | ||
| 2009 | } | ||
| 2010 | }, | ||
| 2011 | "difficulty": { | ||
| 2012 | "type": "integer" | ||
| 2013 | }, | ||
| 2014 | "id": { | ||
| 2015 | "type": "integer" | ||
| 2016 | }, | ||
| 2017 | "image": { | ||
| 2018 | "type": "string" | ||
| 2019 | }, | ||
| 2020 | "is_disabled": { | ||
| 2021 | "type": "boolean" | ||
| 2022 | }, | ||
| 2023 | "name": { | ||
| 2024 | "type": "string" | ||
| 2025 | } | ||
| 2026 | } | ||
| 2027 | }, | ||
| 2002 | "models.MapShort": { | 2028 | "models.MapShort": { |
| 2003 | "type": "object", | 2029 | "type": "object", |
| 2004 | "properties": { | 2030 | "properties": { |