Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignRoleToUsers ¶
func AssignRoleToUsers(c echo.Context) error
func GetUserProfile ¶
func GetUserProfile(c echo.Context) error
GetUserProfile
@Tags User.Private @Summary Get user profile @Security AccessToken @Produce json @Success 200 {object} middleware.SuccessResponse{data=userresdto.UserGetProfileDtoStruct} @Failure 400 {object} middleware.ErrorResponse{} @Failure 404 {object} middleware.ErrorResponse{} @Failure 500 {object} middleware.ErrorResponse{} @Router /users/profile [get]
func RefreshAccessToken ¶
func RefreshAccessToken(c echo.Context) error
func UpdateUserProfile ¶
func UpdateUserProfile(c echo.Context) error
UpdateUserProfile
@Tags User.Private @Summary Update user profile @Security AccessToken @Accept json @Produce json @Param data body userreqdto.UserUpdateProfileDto true "User update profile" @Success 204 {object} middleware.SuccessResponse{} @Failure 400 {object} middleware.ErrorResponse{} @Failure 404 {object} middleware.ErrorResponse{} @Failure 500 {object} middleware.ErrorResponse{} @Router /users/profile [put]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.