This commit is contained in:
14
docs/docs.go
14
docs/docs.go
@@ -1522,13 +1522,6 @@ const docTemplate = `{
|
|||||||
],
|
],
|
||||||
"summary": "Update user profile",
|
"summary": "Update user profile",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"description": "User ID",
|
|
||||||
"name": "id",
|
|
||||||
"in": "path",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "Update Profile request",
|
"description": "Update Profile request",
|
||||||
"name": "request",
|
"name": "request",
|
||||||
@@ -1648,13 +1641,6 @@ const docTemplate = `{
|
|||||||
],
|
],
|
||||||
"summary": "Change user password",
|
"summary": "Change user password",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"description": "User ID",
|
|
||||||
"name": "id",
|
|
||||||
"in": "path",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "Change Password request",
|
"description": "Change Password request",
|
||||||
"name": "request",
|
"name": "request",
|
||||||
|
|||||||
@@ -1515,13 +1515,6 @@
|
|||||||
],
|
],
|
||||||
"summary": "Update user profile",
|
"summary": "Update user profile",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"description": "User ID",
|
|
||||||
"name": "id",
|
|
||||||
"in": "path",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "Update Profile request",
|
"description": "Update Profile request",
|
||||||
"name": "request",
|
"name": "request",
|
||||||
@@ -1641,13 +1634,6 @@
|
|||||||
],
|
],
|
||||||
"summary": "Change user password",
|
"summary": "Change user password",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
|
||||||
"type": "string",
|
|
||||||
"description": "User ID",
|
|
||||||
"name": "id",
|
|
||||||
"in": "path",
|
|
||||||
"required": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "Change Password request",
|
"description": "Change Password request",
|
||||||
"name": "request",
|
"name": "request",
|
||||||
|
|||||||
@@ -1380,11 +1380,6 @@ paths:
|
|||||||
- application/json
|
- application/json
|
||||||
description: Update the profile details of the currently authenticated user
|
description: Update the profile details of the currently authenticated user
|
||||||
parameters:
|
parameters:
|
||||||
- description: User ID
|
|
||||||
in: path
|
|
||||||
name: id
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
- description: Update Profile request
|
- description: Update Profile request
|
||||||
in: body
|
in: body
|
||||||
name: request
|
name: request
|
||||||
@@ -1459,11 +1454,6 @@ paths:
|
|||||||
- application/json
|
- application/json
|
||||||
description: Update the password for the currently authenticated user
|
description: Update the password for the currently authenticated user
|
||||||
parameters:
|
parameters:
|
||||||
- description: User ID
|
|
||||||
in: path
|
|
||||||
name: id
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
- description: Change Password request
|
- description: Change Password request
|
||||||
in: body
|
in: body
|
||||||
name: request
|
name: request
|
||||||
|
|||||||
@@ -174,7 +174,6 @@ func (h *UserController) GetVerificationByUserID(c fiber.Ctx) error {
|
|||||||
// @Accept json
|
// @Accept json
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Security BearerAuth
|
// @Security BearerAuth
|
||||||
// @Param id path string true "User ID"
|
|
||||||
// @Param request body request.UpdateProfileDto true "Update Profile request"
|
// @Param request body request.UpdateProfileDto true "Update Profile request"
|
||||||
// @Success 200 {object} response.CommonResponse
|
// @Success 200 {object} response.CommonResponse
|
||||||
// @Failure 400 {object} response.CommonResponse
|
// @Failure 400 {object} response.CommonResponse
|
||||||
@@ -212,7 +211,6 @@ func (h *UserController) UpdateProfile(c fiber.Ctx) error {
|
|||||||
// @Accept json
|
// @Accept json
|
||||||
// @Produce json
|
// @Produce json
|
||||||
// @Security BearerAuth
|
// @Security BearerAuth
|
||||||
// @Param id path string true "User ID"
|
|
||||||
// @Param request body request.ChangePasswordDto true "Change Password request"
|
// @Param request body request.ChangePasswordDto true "Change Password request"
|
||||||
// @Success 200 {object} response.CommonResponse
|
// @Success 200 {object} response.CommonResponse
|
||||||
// @Failure 400 {object} response.CommonResponse
|
// @Failure 400 {object} response.CommonResponse
|
||||||
|
|||||||
Reference in New Issue
Block a user