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 507ff90 commit a5305e2Copy full SHA for a5305e2
spring-boot/spring-boot-openapi/app/src/main/java/io/reflectoring/UserController.java renamed to spring-boot/spring-boot-openapi/app/src/main/java/io/reflectoring/UserApiDelegateImpl.java
@@ -1,12 +1,12 @@
1
package io.reflectoring;
2
3
-import io.reflectoring.api.UserApi;
+import io.reflectoring.api.UserApiDelegate;
4
import io.reflectoring.model.User;
5
import org.springframework.http.ResponseEntity;
6
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.stereotype.Service;
7
8
-@RestController
9
-public class UserController implements UserApi {
+@Service
+public class UserApiDelegateImpl implements UserApiDelegate {
10
11
@Override
12
public ResponseEntity<User> getUserByName(String username) {
0 commit comments