Skip to content

Commit

Permalink
chore: likeCount Notnull 추가 (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekks authored Oct 9, 2024
1 parent f6b549b commit 4f88c3a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public class PostDetailBaseDto {
private final PostWriterInfoDto user;

@Schema(description = "게시글 좋아요 갯수", example = "20")
@NotNull
private final int likeCount;

//* 본인이 좋아요를 눌렀는지 여부
Expand Down

0 comments on commit 4f88c3a

Please sign in to comment.