This commit is contained in:
@@ -144,7 +144,7 @@ const docTemplate = `{
|
|||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"auth"
|
"Auth"
|
||||||
],
|
],
|
||||||
"summary": "Logout user",
|
"summary": "Logout user",
|
||||||
"responses": {
|
"responses": {
|
||||||
|
|||||||
@@ -137,7 +137,7 @@
|
|||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"auth"
|
"Auth"
|
||||||
],
|
],
|
||||||
"summary": "Logout user",
|
"summary": "Logout user",
|
||||||
"responses": {
|
"responses": {
|
||||||
|
|||||||
@@ -286,7 +286,7 @@ paths:
|
|||||||
- BearerAuth: []
|
- BearerAuth: []
|
||||||
summary: Logout user
|
summary: Logout user
|
||||||
tags:
|
tags:
|
||||||
- auth
|
- Auth
|
||||||
/auth/refresh:
|
/auth/refresh:
|
||||||
post:
|
post:
|
||||||
consumes:
|
consumes:
|
||||||
|
|||||||
@@ -436,7 +436,7 @@ func (h *AuthController) GoogleCallback(c fiber.Ctx) error {
|
|||||||
// Logout godoc
|
// Logout godoc
|
||||||
// @Summary Logout user
|
// @Summary Logout user
|
||||||
// @Description Logout current user and revoke tokens
|
// @Description Logout current user and revoke tokens
|
||||||
// @Tags auth
|
// @Tags Auth
|
||||||
// @Security BearerAuth
|
// @Security BearerAuth
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Success 200 {object} response.CommonResponse
|
// @Success 200 {object} response.CommonResponse
|
||||||
|
|||||||
Reference in New Issue
Block a user