Skip to content

Commit 58a1983

Browse files
committed
refactor: rename endpoint to singular form
1 parent b5c322d commit 58a1983

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/kotlin/com/dobby/backend/presentation/api/controller/MemberController.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class MemberController(
6666
}
6767

6868
@PreAuthorize("hasRole('RESEARCHER')")
69-
@GetMapping("/me/researchers")
69+
@GetMapping("/me/researcher")
7070
@Operation(
7171
summary = "연구자 회원 정보 렌더링",
7272
description = "연구자의 회원 정보를 반환합니다."
@@ -78,7 +78,7 @@ class MemberController(
7878
}
7979

8080
@PreAuthorize("hasRole('RESEARCHER')")
81-
@PutMapping("/me/researchers")
81+
@PutMapping("/me/researcher")
8282
@Operation(
8383
summary = "연구자 회원 정보 수정",
8484
description = "연구자의 회원 정보를 수정합니다."
@@ -92,7 +92,7 @@ class MemberController(
9292
}
9393

9494
@PreAuthorize("hasRole('PARTICIPANT')")
95-
@GetMapping("/me/participants")
95+
@GetMapping("/me/participant")
9696
@Operation(
9797
summary = "참여자 회원 정보 렌더링",
9898
description = "참여자의 회원 정보를 반환합니다."
@@ -104,7 +104,7 @@ class MemberController(
104104
}
105105

106106
@PreAuthorize("hasRole('PARTICIPANT')")
107-
@PutMapping("/me/participants")
107+
@PutMapping("/me/participant")
108108
@Operation(
109109
summary = "참여자 회원 정보 수정",
110110
description = "참여자의 회원 정보를 수정합니다."

0 commit comments

Comments
 (0)