From 460fddbdd88b67bcc02663b668ba646c0f9c5940 Mon Sep 17 00:00:00 2001 From: Park Geonho Date: Mon, 1 Apr 2024 01:05:39 +0800 Subject: [PATCH] =?UTF-8?q?[docs]=20adoc=20=EC=97=94=EB=93=9C=ED=8F=AC?= =?UTF-8?q?=EC=9D=B8=ED=8A=B8=20=EB=B3=80=EA=B2=BD=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/docs/asciidoc/index.adoc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/docs/asciidoc/index.adoc b/src/docs/asciidoc/index.adoc index 5f3b8fb..59a802c 100644 --- a/src/docs/asciidoc/index.adoc +++ b/src/docs/asciidoc/index.adoc @@ -62,36 +62,36 @@ operation::reviews/delete/fail/noAuth[snippets='http-request,http-response'] == 게시글 관리 -=== 모든 게시글 보기 (GET /community) +=== 모든 게시글 보기 (GET /posts) ==== 성공 operation::post/find/all/success[snippets='http-request,http-response'] -=== 특정 카테고리 게시글 보기 (GET /community/category/{category}) +=== 특정 카테고리 게시글 보기 (GET /posts?category={category}&page=1) 유효한 category 값: free(자유), question(질문), trade(중고거래), offer(구인) ==== 성공 operation::post/find/category/success[snippets='http-request,http-response'] -=== 특정 게시글 보기 (GET /community/{id}) +=== 특정 게시글 보기 (GET /posts/{id}) ==== 성공 operation::post/find/one/success[snippets='http-request,http-response'] -=== 게시글 작성하기 (POST /community) +=== 게시글 작성하기 (POST /posts) ==== 성공 operation::post/create/success[snippets='http-request,http-response'] ==== 실패 ===== 제목에 내용이 없는 경우 operation::post/create/fail/noTitle[snippets='http-request,http-response'] -=== 내 게시글 보기 (GET /community/me) +=== 내 게시글 보기 (GET /posts/me) ==== 성공 operation::post/find/me/success[snippets='http-request,http-response'] -=== 게시글 좋아요 (PUT /community/{id}/like) +=== 게시글 좋아요 (PUT /posts/{id}/like) ==== 성공 operation::post/like/success[snippets='http-request,http-response'] -=== 게시글 수정 (PUT /community/{id}) +=== 게시글 수정 (PUT /posts/{id}) ==== 성공 operation::post/update/success[snippets='http-request,http-response'] ==== 실패 @@ -100,7 +100,7 @@ operation::post/update/fail/noAuth[snippets='http-request,http-response'] ===== 제목에 내용이 없는 경우 operation::post/update/fail/noTitle[snippets='http-request,http-response'] -=== 게시글 삭제 (DELETE /community/{id}) +=== 게시글 삭제 (DELETE /posts/{id}) ==== 성공 operation::post/delete/success[snippets='http-request,http-response'] ==== 실패