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.
🎫 관련 이슈
close #105
📄 개요
🔨 작업 내용
🏁 확인 사항
🙋🏻 덧붙일 말
Enum 유효성을 검증하기 위해서는 @JsonCreator를 사용해서 파라미터로 해당 enum 이외의 값이 전달되면 Validator로 null을 전달해서 오류를 발생시켜야 하는데, 상황에 따라서 enum 값에 null을 허용하는 경우(원서 전체 조회시 FormType)도 있고 아닌 경우(원서 제출시 FormType)도 있어서 이에 대한 처리가 어려워 포기했습니다.
대신에 서버 에러메시지가 그대로 응답에 포함되는 것은 해결했습니다.