Skip to content

Commit

Permalink
[FIX] 메서드명 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
thguss committed Jun 28, 2024
1 parent c40c615 commit 1de20ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class HappinessRoutineController implements HappinessRoutineControllerDoc
private final RoutineService routineService;

@GetMapping
public ResponseEntity<SuccessResponse<HappinessRoutineListAcquireResponse>> getHappinessRoutinesByThemes(
public ResponseEntity<SuccessResponse<HappinessRoutineListAcquireResponse>> acquireAllByTheme(
@RequestParam(required = false) Long themeId
) {
return ResponseEntity.ok(SuccessResponse.success(
Expand All @@ -35,7 +35,7 @@ public ResponseEntity<SuccessResponse<HappinessRoutineListAcquireResponse>> getH
}

@GetMapping("/routine/{routineId}")
public ResponseEntity<SuccessResponse<HappinessSubRoutineListAcquireResponse>> getHappinessSubRoutinesByRoutineOfTheme(
public ResponseEntity<SuccessResponse<HappinessSubRoutineListAcquireResponse>> acquireAllInSubByRoutine(
@PathVariable long routineId
) {
val response = HappinessSubRoutineListAcquireResponse.of(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public interface HappinessRoutineControllerDocs {
description = "서버 내부 오류",
content = @Content(schema = @Schema(implementation = ErrorResponse.class)))}
)
ResponseEntity<SuccessResponse<HappinessRoutineListAcquireResponse>> getHappinessRoutinesByThemes(
ResponseEntity<SuccessResponse<HappinessRoutineListAcquireResponse>> acquireAllByTheme(
@Parameter(
name = "themeId",
description = "조회할 행복 루틴 테마 id",
Expand All @@ -57,7 +57,7 @@ ResponseEntity<SuccessResponse<HappinessRoutineListAcquireResponse>> getHappines
description = "서버 내부 오류",
content = @Content(schema = @Schema(implementation = ErrorResponse.class)))}
)
ResponseEntity<SuccessResponse<HappinessSubRoutineListAcquireResponse>> getHappinessSubRoutinesByRoutineOfTheme(
ResponseEntity<SuccessResponse<HappinessSubRoutineListAcquireResponse>> acquireAllInSubByRoutine(
@Parameter(
name = "routineId",
description = "조회할 서브 행복 루틴 id",
Expand Down

0 comments on commit 1de20ae

Please sign in to comment.