@@ -32,7 +32,7 @@ public class ChangeTaskController {
3232
3333 @ Operation (summary = "작업 상태 변경" )
3434 @ Secured ("ROLE_MANAGER" )
35- @ PatchMapping ("/state/ {taskId}" )
35+ @ PatchMapping ("/{taskId}/status " )
3636 public ResponseEntity <UpdateTaskResponse > updateTaskState (
3737 @ PathVariable @ NotNull Long taskId ,
3838 @ AuthenticationPrincipal SecurityUserDetails userInfo ,
@@ -43,7 +43,7 @@ public ResponseEntity<UpdateTaskResponse> updateTaskState(
4343
4444 @ Operation (summary = "작업 처리자 변경" )
4545 @ Secured ({"ROLE_MANAGER" })
46- @ PatchMapping ("/processor/ {taskId}" )
46+ @ PatchMapping ("/{taskId}/processor " )
4747 public ResponseEntity <UpdateTaskResponse > updateTaskProcessor (
4848 @ PathVariable Long taskId ,
4949 @ AuthenticationPrincipal SecurityUserDetails userInfo ,
@@ -53,7 +53,7 @@ public ResponseEntity<UpdateTaskResponse> updateTaskProcessor(
5353
5454 @ Operation (summary = "작업 구분 변경" )
5555 @ Secured ({"ROLE_MANAGER" })
56- @ PatchMapping ("/label/ {taskId}" )
56+ @ PatchMapping ("/{taskId}/label " )
5757 public ResponseEntity <UpdateTaskResponse > updateTaskLabel (
5858 @ PathVariable Long taskId ,
5959 @ AuthenticationPrincipal SecurityUserDetails userInfo ,
@@ -63,7 +63,7 @@ public ResponseEntity<UpdateTaskResponse> updateTaskLabel(
6363
6464 @ Operation (summary = "작업 승인" )
6565 @ Secured ({"ROLE_MANAGER" })
66- @ PostMapping ("/approval/ {taskId}" )
66+ @ PostMapping ("/{taskId}/approval " )
6767 public ResponseEntity <ApprovalTaskResponse > approvalTask (
6868 @ RequestBody @ Valid ApprovalTaskRequest approvalTaskRequest ,
6969 @ PathVariable Long taskId ,
0 commit comments