diff --git a/api/server-v1/src/main/java/kr/joberchip/server/v1/domain/user/controller/TestTokenController.java b/api/server-v1/src/main/java/kr/joberchip/server/v1/domain/user/controller/TestTokenController.java index 14d6a72..e452401 100644 --- a/api/server-v1/src/main/java/kr/joberchip/server/v1/domain/user/controller/TestTokenController.java +++ b/api/server-v1/src/main/java/kr/joberchip/server/v1/domain/user/controller/TestTokenController.java @@ -2,22 +2,23 @@ import java.util.ArrayList; import java.util.List; +import kr.joberchip.server.v1.domain.user.repository.UserRepository; import kr.joberchip.server.v1.global.security.JwtProvider; import kr.joberchip.server.v1.global.utils.ApiResponse; -import kr.joberchip.server.v1.domain.user.repository.UserRepository; import lombok.*; import lombok.extern.slf4j.Slf4j; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; +@Deprecated @Slf4j @RestController -@RequestMapping("/v1/user") +// @RequestMapping("/v1/user") @RequiredArgsConstructor public class TestTokenController { private final UserRepository userRepository; - @GetMapping("/testTokens") + // @GetMapping("/testTokens") public ResponseEntity>> generateTestTokens() { List tokens = new ArrayList<>(); @@ -33,5 +34,4 @@ public static TokenResponse of(String username, String token) { return new TokenResponse(username, token); } } - }