Skip to content

Commit 309a6d0

Browse files
Copilotneibler
andcommitted
Update Swagger documentation for order detail endpoint
Co-authored-by: neibler <87866961+neibler@users.noreply.github.com>
1 parent 255d345 commit 309a6d0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/java/com/ongil/backend/domain/order/controller/OrderController.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ public DataResponse<Long> createOrderFromCart(
5454
}
5555

5656
@GetMapping("/{orderId}")
57-
@Operation(summary = "주문 상세 조회", description = "orderId를 통한 주문 상세 조회")
57+
@Operation(
58+
summary = "주문 상세 조회",
59+
description = "orderId를 통한 주문 상세 조회. " +
60+
"주문 상태(orderStatus), 배송 정보, 상품 목록, 결제 금액 등을 반환합니다. " +
61+
"주문 상태 변경 시간(배송 시작, 배송 완료, 구매 확정, 취소 시간 등)도 포함됩니다."
62+
)
5863
public DataResponse<OrderDetailResponse> getOrderDetail(
5964
@AuthenticationPrincipal Long userId, @PathVariable Long orderId
6065
) {

0 commit comments

Comments
 (0)