Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat : Request DTO Validation 유효성 검사 추가 #59

Open
ohjinseo opened this issue Oct 18, 2023 · 0 comments
Open

feat : Request DTO Validation 유효성 검사 추가 #59

ohjinseo opened this issue Oct 18, 2023 · 0 comments

Comments

@ohjinseo
Copy link
Contributor

ohjinseo commented Oct 18, 2023

Validation 추가 작업 내용

  • 회원가입, 로그인 API
  • 운동 리스트 전체 조회 API
  • 그룹 생성, 가입 API
  • 리뷰 생성 API

얘기할 내용

@PathVariable이 필수 항목으로 처리되기 때문에 자동으로 요청을 거부하고 404 Not Found 응답을 반환해서 따로 Validation 해주지 않았습니다.

정리

@NotNull : 해당 값이 'null'이 아니어야 함을 나타낸다.
@notblank : 문자열이 비어 있거나 공백만으로 이루어져 있지 않은지 검사한다.

ohjinseo added a commit that referenced this issue Oct 18, 2023
Feat/#59 : API Validation 검사 추가
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant