From a90dbf0c61eccc45b2a486488b237392c388fbc2 Mon Sep 17 00:00:00 2001 From: feel-coding Date: Sun, 12 Nov 2023 23:32:16 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=ED=8A=B9=EC=A0=95=20=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=EC=9E=90=EC=9D=98=20=EB=A6=AC=EB=B7=B0=20=EB=AA=A9=EB=A1=9D=20?= =?UTF-8?q?=EC=A1=B0=ED=9A=8C=20=EB=AC=B8=EC=84=9C=20=EC=B6=94=EA=B0=80=20?= =?UTF-8?q?#82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/docs/asciidoc/api-doc.adoc | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/docs/asciidoc/api-doc.adoc b/src/docs/asciidoc/api-doc.adoc index 7af03a72..bb4eff67 100644 --- a/src/docs/asciidoc/api-doc.adoc +++ b/src/docs/asciidoc/api-doc.adoc @@ -362,7 +362,25 @@ include::{snippets}/review-controller-test/respond_200_when_success_to_read_prod ==== Sample Response include::{snippets}/review-controller-test/respond_200_when_success_to_read_product_reviews/http-response.adoc[] -=== 4-5. 리뷰 좋아요 추가 +=== 4-5. 특정 사용자의 리뷰 목록 조회 +==== Request Fields +include::{snippets}/user-controller-test/respond_200_when_read_user_review_list_successfully/request-fields.adoc[] +==== 정렬 기준 항목 +|=== +| sortBy 값 | 정렬 기준 | 비고 + +| LATEST | 최신순 | 정렬 기준 미지정시 기본값 +| LIKE | 좋아요순 | +| RATING | 별점순 | +|=== +==== Sample Request +include::{snippets}/user-controller-test/respond_200_when_read_user_review_list_successfully/http-request.adoc[] +==== Response Fields +include::{snippets}/user-controller-test/respond_200_when_read_user_review_list_successfully/response-fields.adoc[] +==== Sample Response +include::{snippets}/user-controller-test/respond_200_when_read_user_review_list_successfully/http-response.adoc[] + +=== 4-6. 리뷰 좋아요 추가 ==== Path Parameters include::{snippets}/review-controller-test/respond_201_when_succeed_to_create_review_like/path-parameters.adoc[] ==== Sample Request @@ -377,7 +395,7 @@ include::{snippets}/review-controller-test/respond_201_when_succeed_to_create_re | `409 CONFLICT` | `DUPLICATE_REVIEW_LIKE` | 해당하는 리뷰 좋아요가 이미 있는 경우 |=== -=== 4-6. 리뷰 좋아요 취소 +=== 4-7. 리뷰 좋아요 취소 ==== Path Parameters include::{snippets}/review-controller-test/respond_200_when_succeed_to_delete_review_like/path-parameters.adoc[] ==== Sample Request