Skip to content

Commit 6bb5ecd

Browse files
committed
CLAP-222 Refactor: ApprovalTaskRequest 스웨거 명세 추가
1 parent 309aff7 commit 6bb5ecd

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/main/java/clap/server/adapter/inbound/web/dto/task/request/ApprovalTaskRequest.java

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,26 @@
44

55
import java.time.LocalDateTime;
66

7+
import io.swagger.v3.oas.annotations.media.Schema;
78
public record ApprovalTaskRequest(
89
@NotNull
10+
@Schema(description = "2차 카테고리 ID",
11+
example = "1 ")
912
Long categoryId,
13+
1014
@NotNull
15+
@Schema(description = "처리자 ID",
16+
example = "2")
1117
Long processorId,
18+
1219
@NotNull
20+
@Schema(description = "마감 기한",
21+
example = "2025-02-10T15:30:00")
1322
LocalDateTime dueDate,
23+
1424
@NotNull
25+
@Schema(description = "라벨 ID",
26+
example = "1")
1527
Long labelId
16-
1728
) {
1829
}

0 commit comments

Comments
 (0)