-
Notifications
You must be signed in to change notification settings - Fork 1
[#321] 리뷰 v2 UI 제작 및 api 연결하기 #364
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
Open
Funital
wants to merge
72
commits into
develop
Choose a base branch
from
feat/#321
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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.


#️⃣ 관련 이슈
Resolved #321
💡작업 내용
이 PR은 리뷰 API의 V1 구조를 완전히 제거하고, V2 API 스펙에 맞춰 DTO와 Router를 재구성한 작업입니다.
1. DTO 모델 업데이트
V1 레거시 DTO 제거
아래와 같은 기존 리뷰 관련 DTO들이 모두 삭제되었습니다:
ReviewListResponseReviewRateResponseMenuReviewResponseMenuInfoResponseV2 API에 맞춘 새로운 DTO 추가
새로운 API 구조에 대응하기 위해 아래 DTO들이 추가되었습니다:
NewReviewListResponseMyReviewResponseDTOReviewMenuStatisticsResponseReviewMealStatisticsResponseReviewValidMenusResponseWriteReviewMenuRequestWriteReviewMealRequestFixedReviewRequestDTO2. Router 및 API 엔드포인트 리팩토링
구 버전 Router 제거
ReviewRouter,MyRouter,WriteReviewRouter의 V1 기반 케이스 제거V2 엔드포인트 중심으로 재구성
새로운 API 스펙에 따라 다음 기능을 지원하도록 Router 업데이트
엔드포인트 경로 및 파라미터 구성도 V2 API에 맞게 전면 수정됨
3. 데이터 모델 단순화
불필요한 필드 삭제
amountRating,tasteRating등 더 이상 사용되지 않는 필드 제거명확하고 일관된 구조로 재정비
V2 기준 리뷰 작성/수정 요청 DTO를 아래처럼 명확히 분리
WriteReviewMealRequestWriteReviewMenuRequestFixedReviewRequestDTO💬리뷰 요구사항(선택)