diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-21 12:38:59 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-21 23:57:49 +0300 |
| commit | 568e77f6d9c5d5a34879901f12ee189ade218c7d (patch) | |
| tree | 3681088bd479d8bc5657179f95caf6b7824acc94 /docs/swagger.yaml | |
| parent | doc: readme (diff) | |
| download | lphub-568e77f6d9c5d5a34879901f12ee189ade218c7d.tar.gz lphub-568e77f6d9c5d5a34879901f12ee189ade218c7d.tar.bz2 lphub-568e77f6d9c5d5a34879901f12ee189ade218c7d.zip | |
doc: added tags
Diffstat (limited to 'docs/swagger.yaml')
| -rw-r--r-- | docs/swagger.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 76b4e7b..c134197 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml | |||
| @@ -122,6 +122,8 @@ paths: | |||
| 122 | schema: | 122 | schema: |
| 123 | $ref: '#/definitions/models.Response' | 123 | $ref: '#/definitions/models.Response' |
| 124 | summary: Get demo with specified demo uuid. | 124 | summary: Get demo with specified demo uuid. |
| 125 | tags: | ||
| 126 | - demo | ||
| 125 | /login: | 127 | /login: |
| 126 | get: | 128 | get: |
| 127 | consumes: | 129 | consumes: |
| @@ -143,6 +145,8 @@ paths: | |||
| 143 | schema: | 145 | schema: |
| 144 | $ref: '#/definitions/models.Response' | 146 | $ref: '#/definitions/models.Response' |
| 145 | summary: Get (redirect) login page for Steam auth. | 147 | summary: Get (redirect) login page for Steam auth. |
| 148 | tags: | ||
| 149 | - login | ||
| 146 | /maps/{id}: | 150 | /maps/{id}: |
| 147 | get: | 151 | get: |
| 148 | consumes: | 152 | consumes: |
| @@ -170,6 +174,8 @@ paths: | |||
| 170 | schema: | 174 | schema: |
| 171 | $ref: '#/definitions/models.Response' | 175 | $ref: '#/definitions/models.Response' |
| 172 | summary: Get map page with specified id. | 176 | summary: Get map page with specified id. |
| 177 | tags: | ||
| 178 | - maps | ||
| 173 | /maps/{id}/record: | 179 | /maps/{id}/record: |
| 174 | post: | 180 | post: |
| 175 | consumes: | 181 | consumes: |
| @@ -228,6 +234,8 @@ paths: | |||
| 228 | schema: | 234 | schema: |
| 229 | $ref: '#/definitions/models.Response' | 235 | $ref: '#/definitions/models.Response' |
| 230 | summary: Post record with demo of a specific map. | 236 | summary: Post record with demo of a specific map. |
| 237 | tags: | ||
| 238 | - maps | ||
| 231 | /profile: | 239 | /profile: |
| 232 | get: | 240 | get: |
| 233 | consumes: | 241 | consumes: |
| @@ -259,6 +267,8 @@ paths: | |||
| 259 | schema: | 267 | schema: |
| 260 | $ref: '#/definitions/models.Response' | 268 | $ref: '#/definitions/models.Response' |
| 261 | summary: Get profile page of session user. | 269 | summary: Get profile page of session user. |
| 270 | tags: | ||
| 271 | - users | ||
| 262 | post: | 272 | post: |
| 263 | consumes: | 273 | consumes: |
| 264 | - application/json | 274 | - application/json |
| @@ -289,6 +299,8 @@ paths: | |||
| 289 | schema: | 299 | schema: |
| 290 | $ref: '#/definitions/models.Response' | 300 | $ref: '#/definitions/models.Response' |
| 291 | summary: Update profile page of session user. | 301 | summary: Update profile page of session user. |
| 302 | tags: | ||
| 303 | - users | ||
| 292 | put: | 304 | put: |
| 293 | consumes: | 305 | consumes: |
| 294 | - application/json | 306 | - application/json |
| @@ -324,6 +336,8 @@ paths: | |||
| 324 | schema: | 336 | schema: |
| 325 | $ref: '#/definitions/models.Response' | 337 | $ref: '#/definitions/models.Response' |
| 326 | summary: Update country code of session user. | 338 | summary: Update country code of session user. |
| 339 | tags: | ||
| 340 | - users | ||
| 327 | /user/{id}: | 341 | /user/{id}: |
| 328 | get: | 342 | get: |
| 329 | consumes: | 343 | consumes: |
| @@ -355,4 +369,6 @@ paths: | |||
| 355 | schema: | 369 | schema: |
| 356 | $ref: '#/definitions/models.Response' | 370 | $ref: '#/definitions/models.Response' |
| 357 | summary: Get profile page of another user. | 371 | summary: Get profile page of another user. |
| 372 | tags: | ||
| 373 | - users | ||
| 358 | swagger: "2.0" | 374 | swagger: "2.0" |