1 parent 620419c commit 1bd5353Copy full SHA for 1bd5353
1 file changed
api/pkg/handlers/user_handler.go
@@ -127,7 +127,8 @@ func (h *UserHandler) Update(c *fiber.Ctx) error {
127
// @Tags Users
128
// @Accept json
129
// @Produce json
130
-// @Param payload body requests.UserNotificationUpdate true "Payload of user notification details to update"
+// @Param userID path string true "ID of the user to update" default(32343a19-da5e-4b1b-a767-3298a73703ca)
131
+// @Param payload body requests.UserNotificationUpdate true "User notification details to update"
132
// @Success 200 {object} responses.UserResponse
133
// @Failure 400 {object} responses.BadRequest
134
// @Failure 401 {object} responses.Unauthorized
0 commit comments