package
0.0.0-20250123004819-64d11969e7de
Repository: https://github.com/marcosxx1/car-rent-gin-golang-.git
Documentation: pkg.go.dev

# Functions

@Summary Change user password @Description Change user password by ID @Tags User @Accept json @Produce json @Param id path string true "User ID" @Param request body authdto.ChangePasswordDTO true "Change Password Request" @Security BearerAuth @Router /user/change-password [post].
@Summary Get user by ID @Description Retrieve user details by ID @Tags User @Accept json @Produce json @Security BearerAuth @Param id path string true "User ID" @Security ApiKeyAuth @Success 200 {object} userdtos.UserOutPutDTO @Router /user/{id} [get].
@Summary Update user by ID @Description Update user details by ID @Tags User @Accept json @Produce json @Param id path string true "User ID" @Param request body userdtos.UserUpdateDTO true "Update User Request" @Security BearerAuth @Param Authorization header string true "Authorization" @Success 200 {object} userdtos.UserUpdateDTO @Router /user/{id} [patch].