Skip to content

Commit 970ef98

Browse files
committed
feat: Routine 스웨거 스펙에 에러코드 추가
1 parent fae2eaf commit 970ef98

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/bitnagil/bitnagil_backend/routine/controller/spec/RoutineSpec.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ CustomResponseDto<Object> updateRoutineCompletionStatus(User user,
5858
UpdateRoutineCompletionRequest updateRoutineCompletionRequest);
5959

6060
@Operation(summary = "선택한 요일(당일)만 루틴을 삭제합니다.")
61-
@ApiErrorCodeExamples({ErrorCode.NOT_FOUND_ROUTINE, ErrorCode.ROUTINE_USER_NOT_MATCHED})
61+
@ApiErrorCodeExamples({ErrorCode.NOT_FOUND_ROUTINE, ErrorCode.ROUTINE_USER_NOT_MATCHED,
62+
ErrorCode.NOT_FOUND_CHANGED_ROUTINE, ErrorCode.CHANGED_ROUTINE_USER_NOT_MATCHED})
6263
CustomResponseDto<Object> deleteRoutineByDay(User user, DeleteRoutineByDayRequest deleteRoutineByDayRequest);
6364

6465
@Operation(summary = "루틴 수정 페이지에서 사용되는 루틴 단건을 조회합니다.")

0 commit comments

Comments
 (0)