aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/docs.go35
-rw-r--r--docs/swagger.json35
-rw-r--r--docs/swagger.yaml20
3 files changed, 90 insertions, 0 deletions
diff --git a/docs/docs.go b/docs/docs.go
index bb6f6ab..d39fd1c 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -715,6 +715,41 @@ const docTemplate = `{
715 } 715 }
716 } 716 }
717 } 717 }
718 },
719 "delete": {
720 "produces": [
721 "application/json"
722 ],
723 "tags": [
724 "auth"
725 ],
726 "summary": "Deletes the token cookie from the user.",
727 "responses": {
728 "200": {
729 "description": "OK",
730 "schema": {
731 "allOf": [
732 {
733 "$ref": "#/definitions/models.Response"
734 },
735 {
736 "type": "object",
737 "properties": {
738 "data": {
739 "$ref": "#/definitions/models.LoginResponse"
740 }
741 }
742 }
743 ]
744 }
745 },
746 "404": {
747 "description": "Not Found",
748 "schema": {
749 "$ref": "#/definitions/models.Response"
750 }
751 }
752 }
718 } 753 }
719 }, 754 },
720 "/users/{id}": { 755 "/users/{id}": {
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}": {
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