Skip to content

Commit

Permalink
hello-spring: Spring Boot 3.2, OpenAPI 7.1 for Quesnelia
Browse files Browse the repository at this point in the history
Upgrade dependencies for Quesnelia:
Upgrade Spring Boot from 3.0 to 3.2.
Upgrade folio-spring-base from 6.1.0 to 7.2.2.
Upgrade OpenAPI from 6.2.1 to 7.1.0.
  • Loading branch information
julianladisch committed Dec 21, 2023
1 parent 23e48dc commit 64a72e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions hello-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<!-- lookup parent from repository -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.0.6</version>
<version>3.2.0</version>
<relativePath />
</parent>

Expand All @@ -29,8 +29,8 @@

<properties>
<java.version>17</java.version>
<folio-spring-base.version>6.1.0</folio-spring-base.version>
<openapi-generator.version>6.2.1</openapi-generator.version>
<folio-spring-base.version>7.2.2</folio-spring-base.version>
<openapi-generator.version>7.1.0</openapi-generator.version>
</properties>

<dependencies>
Expand All @@ -57,7 +57,6 @@

<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>filter-descriptor-inputs</id>
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -22,8 +22,8 @@ public ResponseEntity<String> helloGet() {

/** {@inheritDoc} */
@Override
public ResponseEntity<HelloGet200Response> helloPost(Object body) {
HelloGet200Response response = new HelloGet200Response();
public ResponseEntity<HelloPost200Response> helloPost(Object body) {
var response = new HelloPost200Response();
response.setGreeting(GREETING);
response.setData(body);

Expand Down

0 comments on commit 64a72e2

Please sign in to comment.