From e1fde2db1a8003a2e48d267dfc35ca8c8fc721da Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Sat, 6 May 2023 17:43:03 +0300 Subject: doc: token endpoint --- docs/swagger.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'docs/swagger.yaml') 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: summary: Get all user and map data. tags: - search + /token: + get: + produces: + - application/json + responses: + "200": + description: OK + schema: + allOf: + - $ref: '#/definitions/models.Response' + - properties: + data: + $ref: '#/definitions/models.LoginResponse' + type: object + "404": + description: Not Found + schema: + $ref: '#/definitions/models.Response' + summary: Gets the token cookie value from the user. + tags: + - auth /users/{id}: get: consumes: -- cgit v1.2.3