aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/swagger.yaml')
-rw-r--r--docs/swagger.yaml24
1 files changed, 22 insertions, 2 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 0465daa..98bd042 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -103,6 +103,17 @@ definitions:
103 $ref: '#/definitions/models.Pagination' 103 $ref: '#/definitions/models.Pagination'
104 records: {} 104 records: {}
105 type: object 105 type: object
106 handlers.MapShortWithGame:
107 properties:
108 chapter:
109 type: string
110 game:
111 type: string
112 id:
113 type: integer
114 map:
115 type: string
116 type: object
106 handlers.MapSummaryResponse: 117 handlers.MapSummaryResponse:
107 properties: 118 properties:
108 map: 119 map:
@@ -231,11 +242,11 @@ definitions:
231 properties: 242 properties:
232 maps: 243 maps:
233 items: 244 items:
234 $ref: '#/definitions/models.MapShort' 245 $ref: '#/definitions/handlers.MapShortWithGame'
235 type: array 246 type: array
236 players: 247 players:
237 items: 248 items:
238 $ref: '#/definitions/models.UserShort' 249 $ref: '#/definitions/models.UserShortWithAvatar'
239 type: array 250 type: array
240 type: object 251 type: object
241 models.Category: 252 models.Category:
@@ -367,6 +378,15 @@ definitions:
367 user_name: 378 user_name:
368 type: string 379 type: string
369 type: object 380 type: object
381 models.UserShortWithAvatar:
382 properties:
383 avatar_link:
384 type: string
385 steam_id:
386 type: string
387 user_name:
388 type: string
389 type: object
370host: lp.ardapektezol.com/api 390host: lp.ardapektezol.com/api
371info: 391info:
372 contact: {} 392 contact: {}