diff --git a/src/main/java/com/dnd/accompany/domain/auth/api/AuthController.java b/src/main/java/com/dnd/accompany/domain/auth/api/AuthController.java index b152e0d..cc640e7 100644 --- a/src/main/java/com/dnd/accompany/domain/auth/api/AuthController.java +++ b/src/main/java/com/dnd/accompany/domain/auth/api/AuthController.java @@ -8,12 +8,15 @@ import com.dnd.accompany.domain.auth.oauth.service.OAuthService; import com.dnd.accompany.domain.auth.service.TokenService; import com.dnd.accompany.domain.user.service.UserService; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; +@Tag(name = "Auth") @RestController @RequestMapping("/api/v1/auth") @RequiredArgsConstructor @@ -24,6 +27,7 @@ public class AuthController { private final UserService userService; + @Operation(summary = "로그인") @GetMapping("/sign-in") public ResponseEntity signIn(LoginRequest loginRequest) { OAuthUserDataResponse oAuthUserData = oAuthService.login(loginRequest);