Skip to content

Commit

Permalink
[feat] 카카오 로그인 swagger 응답 형식 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwoo7 committed Aug 22, 2024
1 parent 72d6a44 commit 22fa9c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ public ResponseEntity<?> deleteAccount() {
parameters = {
@Parameter(name = "authorizationCode", description = "인가 코드")
},
responses = {@ApiResponse(responseCode = "200", content = @Content(schema = @Schema(implementation = UserDto.class)),
description = UserDto.description)})
responses = {@ApiResponse(responseCode = "200", content = @Content(schema = @Schema(implementation = LoginSuccessResponseDto.class)),
description = LoginSuccessResponseDto.description)})
@PostMapping("/kakaoLogin")
public ResponseEntity<?> kakaoLogin(String authorizationCode) {
LoginSuccessResponseDto loginSuccessResponseDto = kakaoService.kakaoLogin(authorizationCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class LoginSuccessResponseDto {

public static final String description =
"userId : 유저 아이디 | " +
"isNewUser : 신규 회원 여부 (소셜 로그인 시 할당됨)" +
"isNewUser : 신규 회원 여부 (소셜 로그인 시 할당됨) | " +
"accessToken : 액세스 토큰 | " +
"refreshToken : 리프레쉬 토큰";
}

0 comments on commit 22fa9c9

Please sign in to comment.