Skip to content

Commit

Permalink
Merge pull request #50 from folio-org/hello-spring-quesnelia
Browse files Browse the repository at this point in the history
hello-spring: Spring Boot 3.2, OpenAPI 7.1 for Quesnelia
  • Loading branch information
julianladisch authored Jan 22, 2024
2 parents 23e48dc + 5fc3e9a commit bc91725
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.1</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.3.0-SNAPSHOT</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 bc91725

Please sign in to comment.