Skip to content
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

[Feature] 상품 상세 조회 기능 구현 #54

Merged
merged 7 commits into from
Sep 12, 2023

Conversation

pdohyung
Copy link
Member

💡 연관된 이슈

close #53

📝 작업 내용

상품 상세 조회 기능 구현

💬 리뷰 요구 사항

리뷰 부탁드립니다.

@pdohyung pdohyung linked an issue Sep 12, 2023 that may be closed by this pull request
@pdohyung pdohyung added the ✨ Feature 기능 개발 label Sep 12, 2023
Copy link
Member

@kyeong-hyeok kyeong-hyeok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋습니다.

import com.teamA.hicardi.domain.item.entity.ItemImage;

public interface ItemImageRepository extends JpaRepository<ItemImage, Long> {
List<ItemImage> findItemImagesByItemId(Long itemId);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

findByItemId로 바꿔도 괜찮 ㅎㅎ 상관없지만~

@Operation(summary = "상품 상세 조회", description = "상품을 조회합니다.",
security = { @SecurityRequirement(name = "bearer-key") },
responses = {
@ApiResponse(responseCode = "200", description = "상품 상세 조회 성공")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ErrorResponse도 스웨거 명세에 넣으면 좋을 듯함

@pdohyung pdohyung merged commit b4d8bad into develop Sep 12, 2023
1 check passed
@pdohyung pdohyung deleted the feature/53-item-detail-get branch September 12, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] 상품 상세 조회 기능 구현
2 participants