diff --git a/src/main/java/com/finfellows/domain/auth/presentation/AuthController.java b/src/main/java/com/finfellows/domain/auth/presentation/AuthController.java index 1c8b990..f210f93 100644 --- a/src/main/java/com/finfellows/domain/auth/presentation/AuthController.java +++ b/src/main/java/com/finfellows/domain/auth/presentation/AuthController.java @@ -38,15 +38,15 @@ public class AuthController { private final KakaoService kakaoService; -// @Operation(summary = "카카오 code 발급", description = "카카오 API 서버에 접근 권한을 인가하는 code를 발급받습니다.") -// @ApiResponses(value = { -// @ApiResponse(responseCode = "200", description = "code 발급 성공", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = AuthRes.class))}), -// @ApiResponse(responseCode = "400", description = "code 발급 실패", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class))}), -// }) -// @GetMapping(value = "/login") -// public void socialLoginRedirect() throws IOException { -// kakaoService.accessRequest(); -// } + @Operation(summary = "카카오 code 발급", description = "카카오 API 서버에 접근 권한을 인가하는 code를 발급받습니다.") + @ApiResponses(value = { + @ApiResponse(responseCode = "200", description = "code 발급 성공", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = AuthRes.class))}), + @ApiResponse(responseCode = "400", description = "code 발급 실패", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class))}), + }) + @GetMapping(value = "/login") + public void socialLoginRedirect() throws IOException { + kakaoService.accessRequest(); + } @Operation(summary = "유저 정보 확인", description = "현재 접속 중인 유저의 정보를 확인합니다.") @ApiResponses(value = {