diff options
Diffstat (limited to 'docs/swagger.yaml')
| -rw-r--r-- | docs/swagger.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml index fa1a26d..a39aed4 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml | |||
| @@ -593,6 +593,27 @@ paths: | |||
| 593 | summary: Get all user and map data. | 593 | summary: Get all user and map data. |
| 594 | tags: | 594 | tags: |
| 595 | - search | 595 | - search |
| 596 | /token: | ||
| 597 | get: | ||
| 598 | produces: | ||
| 599 | - application/json | ||
| 600 | responses: | ||
| 601 | "200": | ||
| 602 | description: OK | ||
| 603 | schema: | ||
| 604 | allOf: | ||
| 605 | - $ref: '#/definitions/models.Response' | ||
| 606 | - properties: | ||
| 607 | data: | ||
| 608 | $ref: '#/definitions/models.LoginResponse' | ||
| 609 | type: object | ||
| 610 | "404": | ||
| 611 | description: Not Found | ||
| 612 | schema: | ||
| 613 | $ref: '#/definitions/models.Response' | ||
| 614 | summary: Gets the token cookie value from the user. | ||
| 615 | tags: | ||
| 616 | - auth | ||
| 596 | /users/{id}: | 617 | /users/{id}: |
| 597 | get: | 618 | get: |
| 598 | consumes: | 619 | consumes: |