docs: 에러 응답 커스터마이징 및 프로필 controller 적용 #129
Merged
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.
🔎 작업 내용
@ApiErrorResponses커스텀 어노테이션 추가ApiErrorResponseDocsCustomizer클래스를 통한 OpenAPI 에러 응답 자동 생성ProfileApiDocs에@ApiErrorResponses적용주요 변경사항
@ApiErrorResponses어노테이션 생성ApiErrorResponseDocsCustomizer구현@ApiErrorResponses어노테이션을 읽어 에러 응답 자동 추가ProfileApiDocs적용@ApiErrorResponses적용사용 예시
생성되는 에러 응답 예시
{ "status": 409, "data": { "errorCode": "NICKNAME_ALREADY_TAKEN", "field": null, "message": "이미 사용 중인 닉네임입니다." } }➕ 이슈 링크
📸 스크린샷
🧑💻 예정 작업
📝 체크리스트
feature/개발내용형식으로 작성했는가?feat: 커밋 내용형식으로 작성했는가?dev브랜치로 병합을 요청했는가?