aboutsummaryrefslogtreecommitdiff
path: root/docs/docs.go
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docs.go')
-rw-r--r--docs/docs.go43
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/docs.go b/docs/docs.go
index 83d3a5c..d1643c3 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -177,6 +177,46 @@ const docTemplate = `{
177 } 177 }
178 } 178 }
179 }, 179 },
180 "/games/{gameid}/maps": {
181 "get": {
182 "description": "Get maps from the specified game id.",
183 "produces": [
184 "application/json"
185 ],
186 "tags": [
187 "games \u0026 chapters"
188 ],
189 "parameters": [
190 {
191 "type": "integer",
192 "description": "Game ID",
193 "name": "gameid",
194 "in": "path",
195 "required": true
196 }
197 ],
198 "responses": {
199 "200": {
200 "description": "OK",
201 "schema": {
202 "allOf": [
203 {
204 "$ref": "#/definitions/models.Response"
205 },
206 {
207 "type": "object",
208 "properties": {
209 "data": {
210 "$ref": "#/definitions/handlers.ChaptersResponse"
211 }
212 }
213 }
214 ]
215 }
216 }
217 }
218 }
219 },
180 "/login": { 220 "/login": {
181 "get": { 221 "get": {
182 "description": "Get (redirect) login page for Steam auth.", 222 "description": "Get (redirect) login page for Steam auth.",
@@ -1884,6 +1924,9 @@ const docTemplate = `{
1884 "id": { 1924 "id": {
1885 "type": "integer" 1925 "type": "integer"
1886 }, 1926 },
1927 "is_disabled": {
1928 "type": "boolean"
1929 },
1887 "name": { 1930 "name": {
1888 "type": "string" 1931 "type": "string"
1889 } 1932 }