|
29 | 29 | <artifactId>springdoc-openapi-ui</artifactId>
|
30 | 30 | <version>${springdoc.version}</version>
|
31 | 31 | </dependency>
|
32 |
| - <dependency> |
33 |
| - <groupId>io.springfox</groupId> |
34 |
| - <artifactId>springfox-oas</artifactId> |
35 |
| - <version>${springfox.version}</version> |
36 |
| - </dependency> |
37 |
| - <dependency> |
38 |
| - <groupId>javax.validation</groupId> |
39 |
| - <artifactId>validation-api</artifactId> |
40 |
| - </dependency> |
41 |
| - <dependency> |
42 |
| - <groupId>io.springfox</groupId> |
43 |
| - <artifactId>springfox-swagger2</artifactId> |
44 |
| - <version>${springfox.version}</version> |
45 |
| - </dependency> |
46 | 32 | <dependency>
|
47 | 33 | <groupId>io.swagger.core.v3</groupId>
|
48 | 34 | <artifactId>swagger-annotations</artifactId>
|
49 | 35 | <version>${swagger-annotations.version}</version>
|
50 | 36 | </dependency>
|
| 37 | + <dependency> |
| 38 | + <groupId>org.openapitools</groupId> |
| 39 | + <artifactId>jackson-databind-nullable</artifactId> |
| 40 | + <version>${jackson-databind-nullable}</version> |
| 41 | + </dependency> |
51 | 42 | </dependencies>
|
52 | 43 |
|
53 | 44 | <build>
|
|
66 | 57 | <inputSpec>${project.basedir}/src/main/resources/static/api_3.yaml</inputSpec>
|
67 | 58 | <language>spring</language>
|
68 | 59 | <configOptions>
|
69 |
| - <java8>true</java8> |
70 | 60 | <interfaceOnly>true</interfaceOnly>
|
| 61 | + <jakarta>true</jakarta> |
| 62 | + <java8>true</java8> |
| 63 | + <useSpringBoot3>true</useSpringBoot3> |
71 | 64 | </configOptions>
|
72 | 65 | </configuration>
|
73 | 66 | </execution>
|
|
82 | 75 | <configOptions>
|
83 | 76 | <java8>true</java8>
|
84 | 77 | <dateLibrary>custom</dateLibrary>
|
| 78 | + <jakarta>true</jakarta> |
| 79 | + <useSpringBoot3>true</useSpringBoot3> |
85 | 80 | </configOptions>
|
86 | 81 | <typeMappings>
|
87 | 82 | <typeMapping>DateTime=Instant</typeMapping>
|
|
114 | 109 | <dateLibrary>custom</dateLibrary>
|
115 | 110 | <openApiNullable>false</openApiNullable>
|
116 | 111 | <interfaceOnly>true</interfaceOnly>
|
| 112 | + <useSpringBoot3>true</useSpringBoot3> |
| 113 | + <useJakarta>true</useJakarta> |
117 | 114 | </configOptions>
|
118 | 115 | <typeMappings>
|
119 | 116 | <typeMapping>DateTime=Instant</typeMapping>
|
|
138 | 135 | </build>
|
139 | 136 |
|
140 | 137 | <properties>
|
141 |
| - <openapi-generator.version>7.1.0</openapi-generator.version> |
142 |
| - <springfox.version>3.0.0</springfox.version> |
143 |
| - <swagger-codegen-maven-plugin.version>3.0.34</swagger-codegen-maven-plugin.version> |
144 |
| - <springdoc.version>1.6.10</springdoc.version> |
145 |
| - <swagger-maven-plugin.version>3.1.1</swagger-maven-plugin.version> |
146 |
| - <swagger-annotations.version>2.2.19</swagger-annotations.version> |
| 138 | + <openapi-generator.version>7.11.0</openapi-generator.version> |
| 139 | + <jackson-databind-nullable>0.2.6</jackson-databind-nullable> |
| 140 | + <swagger-codegen-maven-plugin.version>3.0.67</swagger-codegen-maven-plugin.version> |
| 141 | + <springdoc.version>1.8.0</springdoc.version> |
| 142 | + <swagger-annotations.version>2.2.28</swagger-annotations.version> |
147 | 143 | <start-class>com.baeldung.tworesponses.Application</start-class>
|
148 | 144 | </properties>
|
149 | 145 |
|
|
0 commit comments