Skip to content

Commit

Permalink
Fix the userID param in swager file
Browse files Browse the repository at this point in the history
  • Loading branch information
AchoArnold committed Oct 12, 2023
1 parent 620419c commit 1bd5353
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/pkg/handlers/user_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ func (h *UserHandler) Update(c *fiber.Ctx) error {
// @Tags Users
// @Accept json
// @Produce json
// @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)
// @Param payload body requests.UserNotificationUpdate true "User notification details to update"
// @Success 200 {object} responses.UserResponse
// @Failure 400 {object} responses.BadRequest
// @Failure 401 {object} responses.Unauthorized
Expand Down

0 comments on commit 1bd5353

Please sign in to comment.