Skip to content

Commit 9118a80

Browse files
committed
fix: 문서 수정
1 parent e35722e commit 9118a80

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

capturecat-core/src/test/java/com/capturecat/core/api/auth/Oauth2AuthControllerTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@ void setUp() {
8686
fieldWithPath("accountLinking").type(JsonFieldType.BOOLEAN)
8787
.optional()
8888
.description("소셜 로그인 연동 여부. default false, 계정 통합 시 true"),
89-
fieldWithPath("linkToken").type(JsonFieldType.BOOLEAN)
89+
fieldWithPath("linkToken").type(JsonFieldType.STRING)
9090
.optional()
91-
.description("소셜 로그인 연동 토큰. 응답받은 값 전달")
91+
.description("소셜 로그인 연동 토큰.(unlink할때 사용할 토큰으로, 최초에만 발급된다고해서 이미 시도한 걸 재활용해야 하는데, "
92+
+ "연동을 안할수도 있으므로 서버에 저장할 수가 없어서 응답으로 넘김)")
9293
),
9394
responseHeaders(
9495
headerWithName(HttpHeaders.AUTHORIZATION).description("Bearer 액세스 토큰"),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void setUp() {
7070
void 소셜_로그인_회원가입_에러_코드_문서() {
7171
List<ErrorCodeDescriptor> errorCodeDescriptors = generateErrorCodeDescriptors(INVALID_ID_TOKEN,
7272
INVALID_AUTH_TOKEN, FETCH_SOCIAL_TOKEN_FAIL, SOCIAL_API_ERROR, GENERATE_CLIENT_SECRET_FAIL,
73-
ALREADY_REGISTERED_EMAIL);
73+
ALREADY_REGISTERED_EMAIL, ALREADY_REGISTERED_EMAIL);
7474
generateErrorDocs("errorCode/socialLogin", errorCodeDescriptors);
7575
}
7676

0 commit comments

Comments
 (0)