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