[bugfix/#344] 첨부파일이 필요한 게시판에서 생성, 수정할 때 첨부파일 빈 값으로 보내는 경우 검증로직 추가 #345
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
동아리 활동, 공모전, 예산신청, 회계내역 게시판에서 게시판 생성, 수정하는 경우 Dto 첨부파일 부분에
@NotNull
,@Size(min = 1)
어노테이션 추가하였고(이미 있는것은 그대로 뒀습니다.)마찬가지로 각 Controller 에서 검증을 위해
@RequestBody
앞에@Valid
어노테이션 추가했습니다.(이미 있는것은 그대로 뒀습니다.)로컬에서 스웨거 테스트, 모든 테스트 통과 완료 확인했습니다.