diff --git a/src/main/java/com/umc/dream/controller/DreamController.java b/src/main/java/com/umc/dream/controller/DreamController.java index b1ee2f4..d94603e 100644 --- a/src/main/java/com/umc/dream/controller/DreamController.java +++ b/src/main/java/com/umc/dream/controller/DreamController.java @@ -43,6 +43,11 @@ private ApiResponse> GetDream(@RequestParam Long user_ } @GetMapping("/diary/{user_id}/{diary_id}") + @Operation(summary = "내 꿈 일기 상세 조회", description = "내 꿈 일기 상세 조회 API입니다") + @Parameters({ + @Parameter(name = "user_id", description = "자신의 pk"), + @Parameter(name = "dream_id", description = "꿈 일기의 pk") + }) private ApiResponse ViewDream(@RequestParam Long user_id, @RequestParam Long dream_id) { ViewDreamResponseDto viewDreamResponseDto = dreamService.viewDream(user_id, dream_id); return ApiResponse.onSuccess(viewDreamResponseDto);