Skip to content

Commit 45c2a58

Browse files
committed
docs: 즐겨찾기 태그 조회
1 parent 851edf1 commit 45c2a58

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

capturecat-core/src/docs/asciidoc/bookmark.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ operation::getBookmarkImages[snippets='curl-request,query-parameters,http-respon
2121

2222
<<error-codes#즐겨찾기한-이미지-조회, 즐겨찾기한 이미지 조회 API에서 발생할 수 있는 에러>>를 살펴보세요.
2323

24+
[[즐겨찾기한-이미지의-태그-조회]]
25+
=== 즐겨찾기한 이미지의 태그 조회
26+
==== 성공
27+
operation::getBookmarkImageTags[snippets='curl-request,query-parameters,http-response,response-fields']
28+
29+
==== 실패
30+
즐겨찾기한 이미지의 태그 조회가 실패했다면 HTTP 상태 코드와 함께 <<에러-객체-형식, 에러 객체>>가 돌아옵니다.
31+
32+
<<error-codes#즐겨찾기한-이미지의-태그-조회, 즐겨찾기한 이미지의 태그 조회 API에서 발생할 수 있는 에러>>를 살펴보세요.
33+
2434
[[즐겨찾기-삭제]]
2535
=== 즐겨찾기 삭제
2636
==== 성공

capturecat-core/src/docs/asciidoc/error-codes.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ include::{snippets}/errorCode/addBookmark/error-codes.adoc[]
5454
=== 즐겨찾기한 이미지 조회
5555
include::{snippets}/errorCode/getBookmarkImages/error-codes.adoc[]
5656

57+
[[즐겨찾기한-이미지의-태그-조회]]
58+
=== 즐겨찾기한 이미지의 태그 조회
59+
include::{snippets}/errorCode/getBookmarkImageTags/error-codes.adoc[]
60+
5761
[[즐겨찾기-삭제]]
5862
=== 즐겨찾기 삭제
5963
include::{snippets}/errorCode/deleteBookmark/error-codes.adoc[]

capturecat-core/src/test/java/com/capturecat/core/api/error/ErrorCodeControllerTest.java

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
11
package com.capturecat.core.api.error;
22

3-
import static com.capturecat.core.support.error.ErrorType.*;
4-
import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.*;
3+
import static com.capturecat.core.support.error.ErrorType.ALREADY_REGISTERED_TAGS;
4+
import static com.capturecat.core.support.error.ErrorType.BOOKMARK_DUPLICATION;
5+
import static com.capturecat.core.support.error.ErrorType.DUPLICATE_TAG_NAMES;
6+
import static com.capturecat.core.support.error.ErrorType.FETCH_SOCIAL_TOKEN_FAIL;
7+
import static com.capturecat.core.support.error.ErrorType.GENERATE_CLIENT_SECRET_FAIL;
8+
import static com.capturecat.core.support.error.ErrorType.IMAGE_ACCESS_DENIED;
9+
import static com.capturecat.core.support.error.ErrorType.IMAGE_DELETE_FAILED;
10+
import static com.capturecat.core.support.error.ErrorType.IMAGE_NOT_FOUND;
11+
import static com.capturecat.core.support.error.ErrorType.IMAGE_TAG_NOT_FOUND;
12+
import static com.capturecat.core.support.error.ErrorType.IMAGE_UPLOAD_FAILED;
13+
import static com.capturecat.core.support.error.ErrorType.INTERNAL_SERVER_ERROR;
14+
import static com.capturecat.core.support.error.ErrorType.INVALID_ACCESS_TOKEN;
15+
import static com.capturecat.core.support.error.ErrorType.INVALID_AUTH_TOKEN;
16+
import static com.capturecat.core.support.error.ErrorType.INVALID_DATE_FORMAT;
17+
import static com.capturecat.core.support.error.ErrorType.INVALID_ID_TOKEN;
18+
import static com.capturecat.core.support.error.ErrorType.INVALID_LOGOUT_AUTH_TOKEN;
19+
import static com.capturecat.core.support.error.ErrorType.INVALID_REFRESH_TOKEN;
20+
import static com.capturecat.core.support.error.ErrorType.REFRESH_TOKEN_EXPIRED;
21+
import static com.capturecat.core.support.error.ErrorType.SOCIAL_API_ERROR;
22+
import static com.capturecat.core.support.error.ErrorType.TOO_MANY_TAGS;
23+
import static com.capturecat.core.support.error.ErrorType.UNLINK_SOCIAL_FAIL;
24+
import static com.capturecat.core.support.error.ErrorType.UPLOAD_METADATA_MISMATCH;
25+
import static com.capturecat.core.support.error.ErrorType.USER_NOT_FOUND;
26+
import static org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document;
527

628
import java.util.List;
729
import java.util.stream.Stream;

0 commit comments

Comments
 (0)