aboutsummaryrefslogtreecommitdiff
path: root/docs/swagger.yaml
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-05-06 17:43:03 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-05-06 17:43:03 +0300
commite1fde2db1a8003a2e48d267dfc35ca8c8fc721da (patch)
tree9c71a8cef508fd1aa22e03ea1ff8f6abbc07296e /docs/swagger.yaml
parentfix: enable cors (diff)
downloadlphub-e1fde2db1a8003a2e48d267dfc35ca8c8fc721da.tar.gz
lphub-e1fde2db1a8003a2e48d267dfc35ca8c8fc721da.tar.bz2
lphub-e1fde2db1a8003a2e48d267dfc35ca8c8fc721da.zip
doc: token endpoint
Diffstat (limited to '')
-rw-r--r--docs/swagger.yaml21
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: