handlers

package
v0.0.0-...-e796f14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePasswordHandler

type ChangePasswordHandler struct {
	// contains filtered or unexported fields
}

func (*ChangePasswordHandler) Handle

func (h *ChangePasswordHandler) Handle(ctx fiber.Ctx) error

Change password godoc

@Param			Authorization header	string	true	"123"
@Param			body body	dtos.ChangePasswordRequestDto	true	"Body"
@Summary		Allow change authenticated user own password
@Description	Allow change authenticated user own password
@Tags			Auth Controller
@Accept			json
@Produce		json

@Success 200 {object} dtos.ChangePasswordRequestDto @Router /api/v1/auth/change-password [post]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL