fix: aligned router paths with documentation

This commit is contained in:
2026-08-21 15:09:25 +02:00
parent c029fc3951
commit d462e798f9
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ func NewUserHandler(userService *domain.UserService) *UserHandler {
// @Success 201 {object} domain.User
// @Error 400 {object} response.ErrorResponse "failed to decode request body"
// @Error 500 {object} response.ErrorResponse "failed to create user"
// @Router /api/v1/user [post]
// @Router /api/v1/users [post]
func (h *UserHandler) CreateUser(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()