diff --git a/src/main/java/unithon/team5/login/controller/LoginController.java b/src/main/java/unithon/team5/login/controller/LoginController.java index 3dead93..a42c4ea 100644 --- a/src/main/java/unithon/team5/login/controller/LoginController.java +++ b/src/main/java/unithon/team5/login/controller/LoginController.java @@ -3,10 +3,7 @@ import jakarta.validation.Valid; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import unithon.team5.login.dto.JwtTokenResponse; import unithon.team5.login.dto.LoginRequest; import unithon.team5.login.dto.LoginResponse; @@ -15,11 +12,12 @@ @RestController @RequiredArgsConstructor +@RequestMapping("/login") public class LoginController implements LoginControllerDocs { private final LoginService loginService; - @PostMapping("/login/apple") + @PostMapping("/apple") public ResponseEntity registerToken( @Valid @RequestBody final LoginRequest loginRequest ) {