Skip to content

Commit

Permalink
Merge pull request #186 from YogitTeam/feat/report
Browse files Browse the repository at this point in the history
#9 fix: clipboard생성, 수정-req content 길이1000제한 추가
  • Loading branch information
xhaktmchl authored Apr 6, 2023
2 parents 8e5975f + ce619a3 commit 4076daf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class CreateClipBoardReq {
@ApiModelProperty(example = "경복궁역 몇 번 출구인가요?")
@ApiParam(value = "클립보드 상세 내용", required = false)
@NotBlank
@Size(max = 1000)
private String content;

@ApiModelProperty(example = "reb5085c395164587b84ac583d023011f.0.sryrq.IDLsECw-rsTozfsX0Yz-CA")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ public class PatchClipBoardReq {
@ApiModelProperty(example = "질문이 있습니다.")
@ApiParam(value = "클립보드 제목", required = false)
@NotBlank
@Size(max = 1000)
@Size(max = 1001)
private String title;

@ApiModelProperty(example = "경복궁역 몇 번 출구인가요?")
@ApiParam(value = "클립보드 상세 내용", required = true)
@NotBlank
@Size(max = 1001)
private String content;

@ApiModelProperty(example = "reb5085c395164587b84ac583d023011f.0.sryrq.IDLsECw-rsTozfsX0Yz-CA")
Expand Down

0 comments on commit 4076daf

Please sign in to comment.