diff --git a/hello-spring/pom.xml b/hello-spring/pom.xml index ddeb1f2..7dd71c9 100644 --- a/hello-spring/pom.xml +++ b/hello-spring/pom.xml @@ -10,7 +10,7 @@ org.springframework.boot spring-boot-starter-parent - 3.0.6 + 3.2.1 @@ -29,8 +29,8 @@ 17 - 6.1.0 - 6.2.1 + 7.3.0-SNAPSHOT + 7.1.0 @@ -57,7 +57,6 @@ maven-resources-plugin - 3.2.0 filter-descriptor-inputs diff --git a/hello-spring/src/main/java/org/folio/hello/HelloController.java b/hello-spring/src/main/java/org/folio/hello/HelloController.java index 4010c7e..b593e6a 100644 --- a/hello-spring/src/main/java/org/folio/hello/HelloController.java +++ b/hello-spring/src/main/java/org/folio/hello/HelloController.java @@ -1,7 +1,7 @@ package org.folio.hello; import org.folio.hello.api.HelloApi; -import org.folio.hello.model.HelloGet200Response; +import org.folio.hello.model.HelloPost200Response; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RestController; @@ -22,8 +22,8 @@ public ResponseEntity helloGet() { /** {@inheritDoc} */ @Override - public ResponseEntity helloPost(Object body) { - HelloGet200Response response = new HelloGet200Response(); + public ResponseEntity helloPost(Object body) { + var response = new HelloPost200Response(); response.setGreeting(GREETING); response.setData(body);