feat: ErrorResponse 클래스 분리 및 Swagger Error Example 공통 처리 추가 #52
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.
변경 유형
변경 사항
ErrorResponse
클래스를 분리합니다.success
필드가 아닌 status code로 변경하기 위해서입니다.ApiResponse
는 성공한 경우,ErrorResponse
는 실패한 경우만 커버합니다.ApiErrorCodes
어노테이션을 추가합니다.ErrorCode
에 맞는 에러 Response Example을 제공합니다.ErrorCode
를interface
->enum class
로 변경하고, 각 도메인 ErrorCode를 통합합니다.관련링크 (JIRA, Github, etc)