We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d695e6e commit 6027b16Copy full SHA for 6027b16
src/main/java/com/back/domain/mybar/controller/MyBarController.java
@@ -7,13 +7,13 @@
7
import jakarta.validation.constraints.Min;
8
import lombok.RequiredArgsConstructor;
9
import org.springframework.security.core.annotation.AuthenticationPrincipal;
10
-import org.springframework.stereotype.Repository;
11
import org.springframework.validation.annotation.Validated;
12
import org.springframework.web.bind.annotation.GetMapping;
13
import org.springframework.web.bind.annotation.RequestMapping;
14
import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
15
16
-@Repository
+@RestController
17
@RequestMapping("/me/bar")
18
@RequiredArgsConstructor
19
@Validated
0 commit comments