diff options
Diffstat (limited to 'docs/swagger.json')
| -rw-r--r-- | docs/swagger.json | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/swagger.json b/docs/swagger.json index 5ba8a71..ad2a659 100644 --- a/docs/swagger.json +++ b/docs/swagger.json | |||
| @@ -708,6 +708,41 @@ | |||
| 708 | } | 708 | } |
| 709 | } | 709 | } |
| 710 | } | 710 | } |
| 711 | }, | ||
| 712 | "delete": { | ||
| 713 | "produces": [ | ||
| 714 | "application/json" | ||
| 715 | ], | ||
| 716 | "tags": [ | ||
| 717 | "auth" | ||
| 718 | ], | ||
| 719 | "summary": "Deletes the token cookie from the user.", | ||
| 720 | "responses": { | ||
| 721 | "200": { | ||
| 722 | "description": "OK", | ||
| 723 | "schema": { | ||
| 724 | "allOf": [ | ||
| 725 | { | ||
| 726 | "$ref": "#/definitions/models.Response" | ||
| 727 | }, | ||
| 728 | { | ||
| 729 | "type": "object", | ||
| 730 | "properties": { | ||
| 731 | "data": { | ||
| 732 | "$ref": "#/definitions/models.LoginResponse" | ||
| 733 | } | ||
| 734 | } | ||
| 735 | } | ||
| 736 | ] | ||
| 737 | } | ||
| 738 | }, | ||
| 739 | "404": { | ||
| 740 | "description": "Not Found", | ||
| 741 | "schema": { | ||
| 742 | "$ref": "#/definitions/models.Response" | ||
| 743 | } | ||
| 744 | } | ||
| 745 | } | ||
| 711 | } | 746 | } |
| 712 | }, | 747 | }, |
| 713 | "/users/{id}": { | 748 | "/users/{id}": { |