Skip to content

Commit

Permalink
fix: Long notblank -> notnull
Browse files Browse the repository at this point in the history
  • Loading branch information
donghoony committed Jul 25, 2024
1 parent b4a068b commit eb99967
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

@Schema(description = "리뷰 내용 등록 요청")
public record CreateReviewContentRequest(

@Schema(description = "리뷰 문항")
@NotBlank(message = "질문을 입력해주세요.")
@NotNull(message = "질문을 입력해주세요.")
Long questionId,

@Schema(description = "리뷰 문항에 대한 답변")
Expand Down

0 comments on commit eb99967

Please sign in to comment.