Skip to content

Commit c60b42c

Browse files
committed
Fix build issue with jaxrs-spec-microprofile-openapi-annotations sample
1 parent 40dfc1b commit c60b42c

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

  • modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/quarkus
  • samples/server/petstore
    • jaxrs-spec-microprofile-openapi-annotations
    • jaxrs-spec-quarkus-mutiny

modules/openapi-generator/src/main/resources/JavaJaxRS/spec/libraries/quarkus/pom.mustache

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
{{#useMutiny}}
5151
<smallrye.rest.client.version>1.2.1</smallrye.rest.client.version>
5252
{{/useMutiny}}
53+
{{#openApiNullable}}
54+
<jackson-databind-nullable-version>0.2.8</jackson-databind-nullable-version>
55+
{{/openApiNullable}}
5356
</properties>
5457
<dependencyManagement>
5558
<dependencies>
@@ -137,6 +140,13 @@
137140
<scope>test</scope>
138141
</dependency>
139142
{{/useMutiny}}
143+
{{#openApiNullable}}
144+
<dependency>
145+
<groupId>org.openapitools</groupId>
146+
<artifactId>jackson-databind-nullable</artifactId>
147+
<version>${jackson-databind-nullable-version}</version>
148+
</dependency>
149+
{{/openApiNullable}}
140150
</dependencies>
141151
<build>
142152
<plugins>

samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<surefire-plugin.version>2.22.1</surefire-plugin.version>
2323
<javax.ws.rs-version>2.1.1</javax.ws.rs-version>
2424
<javax.annotation-api-version>1.3.2</javax.annotation-api-version>
25+
<jackson-databind-nullable-version>0.2.8</jackson-databind-nullable-version>
2526
</properties>
2627
<dependencyManagement>
2728
<dependencies>
@@ -64,6 +65,11 @@
6465
<artifactId>javax.annotation-api</artifactId>
6566
<version>${javax.annotation-api-version}</version>
6667
</dependency>
68+
<dependency>
69+
<groupId>org.openapitools</groupId>
70+
<artifactId>jackson-databind-nullable</artifactId>
71+
<version>${jackson-databind-nullable-version}</version>
72+
</dependency>
6773
</dependencies>
6874
<build>
6975
<plugins>

samples/server/petstore/jaxrs-spec-quarkus-mutiny/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<javax.ws.rs-version>2.1.1</javax.ws.rs-version>
2424
<javax.annotation-api-version>1.3.2</javax.annotation-api-version>
2525
<smallrye.rest.client.version>1.2.1</smallrye.rest.client.version>
26+
<jackson-databind-nullable-version>0.2.8</jackson-databind-nullable-version>
2627
</properties>
2728
<dependencyManagement>
2829
<dependencies>
@@ -71,6 +72,11 @@
7172
<version>${smallrye.rest.client.version}</version>
7273
<scope>test</scope>
7374
</dependency>
75+
<dependency>
76+
<groupId>org.openapitools</groupId>
77+
<artifactId>jackson-databind-nullable</artifactId>
78+
<version>${jackson-databind-nullable-version}</version>
79+
</dependency>
7480
</dependencies>
7581
<build>
7682
<plugins>

0 commit comments

Comments
 (0)