Skip to content

Commit b4a4e95

Browse files
rajat-gargrajatgarg
and
rajatgarg
authored
[BAEL-8930] Add missing controller annotation (#18051)
Co-authored-by: rajatgarg <[email protected]>
1 parent 793e335 commit b4a4e95

File tree

1 file changed

+2
-0
lines changed
  • spring-boot-modules/spring-boot-swagger-2/src/main/java/com/baeldung/apifirstdevelopment/controller

1 file changed

+2
-0
lines changed

spring-boot-modules/spring-boot-swagger-2/src/main/java/com/baeldung/apifirstdevelopment/controller/AccountController.java

+2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
import org.openapitools.model.Account;
55
import org.openapitools.model.DepositRequest;
66
import org.springframework.http.ResponseEntity;
7+
import org.springframework.stereotype.Controller;
78

9+
@Controller
810
public class AccountController implements AccountApi {
911
@Override
1012
public ResponseEntity<Void> depositToAccount(DepositRequest depositRequest) {

0 commit comments

Comments
 (0)