From c2c72545e6b1d88ea0867ce0c3ad60f3cdaedc42 Mon Sep 17 00:00:00 2001 From: Jin Hyuk Date: Tue, 8 Oct 2024 11:18:55 +0900 Subject: [PATCH] =?UTF-8?q?feat/#507:=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=EC=98=88=EC=99=B8=20=EC=9D=91=EB=8B=B5=20=EB=AC=B8=EC=84=9C=20?= =?UTF-8?q?=ED=81=B4=EB=9E=98=EC=8A=A4=EB=AA=85=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/gaebaljip/exceed/adapter/in/auth/AuthController.java | 4 ++-- .../auth/{AuthExceptionDocs.java => LoginExceptionDocs.java} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename BE/exceed/src/main/java/com/gaebaljip/exceed/common/docs/auth/{AuthExceptionDocs.java => LoginExceptionDocs.java} (92%) diff --git a/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/in/auth/AuthController.java b/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/in/auth/AuthController.java index 1a5b344b3..f4deadf10 100644 --- a/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/in/auth/AuthController.java +++ b/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/in/auth/AuthController.java @@ -18,7 +18,7 @@ import com.gaebaljip.exceed.application.port.in.auth.AuthUsecase; import com.gaebaljip.exceed.common.ApiResponse; import com.gaebaljip.exceed.common.ApiResponseGenerator; -import com.gaebaljip.exceed.common.docs.auth.AuthExceptionDocs; +import com.gaebaljip.exceed.common.docs.auth.LoginExceptionDocs; import com.gaebaljip.exceed.common.dto.LoginResponseDTO; import com.gaebaljip.exceed.common.security.AuthConstants; import com.gaebaljip.exceed.common.swagger.ApiErrorExceptionsExample; @@ -39,7 +39,7 @@ public class AuthController { @Operation(summary = "로그인", description = "로그인") @PostMapping("/auth/login") - @ApiErrorExceptionsExample(AuthExceptionDocs.class) + @ApiErrorExceptionsExample(LoginExceptionDocs.class) public ApiResponse> login( @RequestBody @Valid LoginRequest loginRequest, HttpServletResponse response) { LoginResponseDTO loginResponseDTO = authUsecase.execute(loginRequest); diff --git a/BE/exceed/src/main/java/com/gaebaljip/exceed/common/docs/auth/AuthExceptionDocs.java b/BE/exceed/src/main/java/com/gaebaljip/exceed/common/docs/auth/LoginExceptionDocs.java similarity index 92% rename from BE/exceed/src/main/java/com/gaebaljip/exceed/common/docs/auth/AuthExceptionDocs.java rename to BE/exceed/src/main/java/com/gaebaljip/exceed/common/docs/auth/LoginExceptionDocs.java index ad374b627..5c8ac2030 100644 --- a/BE/exceed/src/main/java/com/gaebaljip/exceed/common/docs/auth/AuthExceptionDocs.java +++ b/BE/exceed/src/main/java/com/gaebaljip/exceed/common/docs/auth/LoginExceptionDocs.java @@ -8,7 +8,7 @@ import com.gaebaljip.exceed.common.swagger.SwaggerExampleExceptions; @ExceptionDoc -public class AuthExceptionDocs implements SwaggerExampleExceptions { +public class LoginExceptionDocs implements SwaggerExampleExceptions { @ExplainError("비밀번호가 일치하지 않을 때") public EatCeedException 비밀번호가_일치하지_않을_때 = PasswordMismatchException.EXECPTION;