diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-05-06 19:53:25 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-05-06 19:53:25 +0300 |
| commit | fbdc0b813944937af29da74f4790e52a2522c480 (patch) | |
| tree | 94f47aaeec7bdf4eab60db340ef654ac391ed9e9 /docs/swagger.yaml | |
| parent | doc: token endpoint (diff) | |
| download | lphub-fbdc0b813944937af29da74f4790e52a2522c480.tar.gz lphub-fbdc0b813944937af29da74f4790e52a2522c480.tar.bz2 lphub-fbdc0b813944937af29da74f4790e52a2522c480.zip | |
feat: logout endpoint
Diffstat (limited to '')
| -rw-r--r-- | docs/swagger.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/swagger.yaml b/docs/swagger.yaml index a39aed4..d62b46b 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml | |||
| @@ -594,6 +594,26 @@ paths: | |||
| 594 | tags: | 594 | tags: |
| 595 | - search | 595 | - search |
| 596 | /token: | 596 | /token: |
| 597 | delete: | ||
| 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: Deletes the token cookie from the user. | ||
| 615 | tags: | ||
| 616 | - auth | ||
| 597 | get: | 617 | get: |
| 598 | produces: | 618 | produces: |
| 599 | - application/json | 619 | - application/json |