Open
Conversation
- `@io.swagger.v3.oas.annotations.parameters.RequestBody` 어노테이션을 통하여 모든 요청 페이로드의 명세를 문서에 반영함
- 정말 필요한 것 아니면 주석 삭제
- 추후 인계를 위한 Security 로직 부분 이외의 주석은 최대한 삭제했음
- import 모듈, 로그, 메소드, 파일 안쓰는 것 모두 지울 것
- DTO는 record로 변경, 클래스명은 ~~DTO로 통일
- 컨버터를 두지 말고 DTO record 파일에 static 메소드로 둘 것
- from이나 of 메소드를 통해서 DTO로 변환 로직 구현
- 엔티티, DTO에 @NotNull 등의 필드 제약 조건을 명시적으로 달아줌
- 모든 DTO와 엔티티에 적용완료
- @Schema를 전부 작성하고 example 작성
- 모든 DTO의 필드에 @Schema 작성 및 컨트롤러 단의 description 작성 완료
- @transactional 서비스 클래스 자체에 달아줄 것
- 읽기 작업만 있으면 readOnly=true 적용
- 서비스 단의 메소드에 전부 필요 → 서비스 클래스에 적용
- 서비스 단에 전부 필요하지 않고 일부 메소드만 필요 → 필요한 메소드에만 적용
- enum들은 entity/enum 패키지로 옮길 것
- AuthRealm 이동
- Member 엔티티의 필드 @NotNull 추가
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
#️⃣연관된 이슈
📝작업 내용
공통 리팩토링
@io.swagger.v3.oas.annotations.parameters.RequestBody어노테이션을 통하여 모든 요청 페이로드의 명세를 문서에 반영함추가 리팩토링
🔎코드 설명(스크린샷(선택))
💬고민사항 및 리뷰 요구사항 (Optional)
비고 (Optional)