Skip to content

Commit

Permalink
[feat] response 조건 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdtkdgns committed Aug 29, 2023
1 parent c721fdf commit a3a7c0b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@
import java.util.List;
import lombok.Getter;

import javax.validation.constraints.Positive;

@Getter
public class UpdateContentRequest {
@Schema(defaultValue = "IMAGE", description = "컨텐츠 타입")
@ValidEnum(target = ContentType.class)
private ContentType contentType;

@Positive
@Schema(defaultValue = "0", description = "아카이빙 고유번호")
private Long archivingId;

Expand Down

0 comments on commit a3a7c0b

Please sign in to comment.