fix: removed /api/v1 prefix from each route, since it's in the basePath

This commit is contained in:
2026-08-21 15:31:29 +02:00
parent 017ee61c99
commit 441c47163c
4 changed files with 14 additions and 14 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/users [post]
// @Router /users [post]
func (h *UserHandler) CreateUser(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()