diff --git a/backend/src/main/java/edonymyeon/backend/member/ui/MemberController.java b/backend/src/main/java/edonymyeon/backend/member/ui/MemberController.java index c76d5c408..82bc574e5 100644 --- a/backend/src/main/java/edonymyeon/backend/member/ui/MemberController.java +++ b/backend/src/main/java/edonymyeon/backend/member/ui/MemberController.java @@ -52,7 +52,7 @@ public ResponseEntity updateMember(@AuthPrincipal MemberId } @ApiVersion(value = {2}) - @GetMapping("/members/check") + @GetMapping("/profile/check-duplicate") public ResponseEntity validateDuplicate(@RequestParam String target, @RequestParam String value) { final DuplicateCheckResponse duplicateCheckResponse = memberService.checkDuplicate(target, value); diff --git a/backend/src/test/java/edonymyeon/backend/member/docs/MemberControllerDocsTest.java b/backend/src/test/java/edonymyeon/backend/member/docs/MemberControllerDocsTest.java index fad549f51..68406d19e 100644 --- a/backend/src/test/java/edonymyeon/backend/member/docs/MemberControllerDocsTest.java +++ b/backend/src/test/java/edonymyeon/backend/member/docs/MemberControllerDocsTest.java @@ -289,7 +289,7 @@ public MemberControllerDocsTest(final MockMvc mockMvc, final DuplicateCheckResponse duplicateCheckResponse = new DuplicateCheckResponse(false); when(memberService.checkDuplicate(target, value)).thenReturn(duplicateCheckResponse); - final MockHttpServletRequestBuilder 중복_요청 = get("/members/check") + final MockHttpServletRequestBuilder 중복_요청 = get("/profile/check-duplicate") .header("X-API-VERSION", 2) .queryParam("target", target) .queryParam("value", value);