Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@OpenAPIDefinition(
info = @Info(
title = "Pinit Task API",
version = "v1",
version = "v2",
description = "일정 관리와 의존 관계 기능을 제공하는 API",
Comment on lines 12 to 14
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(1) 문제점: PR 설명에 포함된 "offset 문자열 정규화 추가"에 해당하는 변경이 현재 diff(ControllerAdvice 범위 조정, OpenAPI Info.version 변경)에서는 확인되지 않습니다.
(2) 영향: 리뷰어/릴리즈 노트 관점에서 실제 반영된 변경과 PR 설명이 불일치해, 누락된 기능이 배포되었다고 오해하거나 필요한 변경이 빠진 채로 머지될 수 있습니다.
(3) 수정 제안: (a) offset 정규화 변경이 다른 커밋/파일에 있다면 이 PR에 포함되도록 올려주시거나, (b) 이번 PR 범위가 문서 버전 표기 변경이라면 PR 설명 체크리스트/내용에서 해당 항목을 제거 또는 별도 PR로 분리해주세요.

Copilot uses AI. Check for mistakes.
contact = @Contact(name = "Pinit Team", email = "support@pinit.local")
),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.gg.pinit.pinittask.interfaces.exception;
package me.gg.pinit.pinittask.interfaces.schedule;

import lombok.extern.slf4j.Slf4j;
import me.gg.pinit.pinittask.domain.dependency.exception.ScheduleAlreadyRemovedException;
Expand All @@ -8,6 +8,7 @@
import me.gg.pinit.pinittask.domain.member.exception.ObjectiveNotNullException;
import me.gg.pinit.pinittask.domain.member.exception.ObjectiveNotPositiveException;
import me.gg.pinit.pinittask.domain.schedule.exception.*;
import me.gg.pinit.pinittask.interfaces.exception.ErrorResponse;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.BindingResult;
Expand All @@ -20,7 +21,9 @@


@Slf4j
@RestControllerAdvice
@RestControllerAdvice(assignableTypes = {
ScheduleControllerV2.class, ScheduleControllerV1.class
})
public class ScheduleControllerAdvice {
@ExceptionHandler({
IllegalTitleException.class,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package me.gg.pinit.pinittask.interfaces.exception;
package me.gg.pinit.pinittask.interfaces.task;

import lombok.extern.slf4j.Slf4j;
import me.gg.pinit.pinittask.domain.task.exception.TaskNotFoundException;
import me.gg.pinit.pinittask.interfaces.task.TaskControllerV1;
import me.gg.pinit.pinittask.interfaces.exception.ErrorResponse;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.BindingResult;
Expand All @@ -14,7 +14,10 @@
import org.springframework.web.context.request.WebRequest;

@Slf4j
@RestControllerAdvice(assignableTypes = TaskControllerV1.class)
@RestControllerAdvice(assignableTypes = {
TaskControllerV2.class,
TaskControllerV1.class
})
public class TaskControllerAdvice {

@ExceptionHandler(TaskNotFoundException.class)
Expand Down
Loading