diff --git a/src/main/java/com/numberone/backend/domain/member/controller/MemberController.java b/src/main/java/com/numberone/backend/domain/member/controller/MemberController.java index 64e7cea8..2344e859 100644 --- a/src/main/java/com/numberone/backend/domain/member/controller/MemberController.java +++ b/src/main/java/com/numberone/backend/domain/member/controller/MemberController.java @@ -28,6 +28,7 @@ @Slf4j @Tag(name = "members", description = "사용자 관련 API") @RestController +@RequestMapping("/api/members") @RequiredArgsConstructor public class MemberController { private final MemberService memberService; diff --git a/src/main/java/com/numberone/backend/domain/member/entity/Member.java b/src/main/java/com/numberone/backend/domain/member/entity/Member.java index cea2b8e5..53d9ee4a 100644 --- a/src/main/java/com/numberone/backend/domain/member/entity/Member.java +++ b/src/main/java/com/numberone/backend/domain/member/entity/Member.java @@ -16,6 +16,7 @@ import lombok.Getter; import lombok.NoArgsConstructor; import org.hibernate.annotations.Comment; +import org.springframework.web.bind.annotation.RequestMapping; import java.util.ArrayList; import java.util.List;