mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-17 15:54:36 +00:00
Update tests for maven plugins (#16720)
* Fix swagger-annotations groupId in java examples In Version 5.4.0 OpenApi-Generator has replaced the legacy library which provided the `io.swagger.annotations.*` namespace (hosted at https://mvnrepository.com/artifact/io.swagger/swagger-annotations) with the updated project that provides `io.swagger.v3.oas.annotations.*`. Hence, if you want to use OpenApi-Generator >= 5.4.0 you need this package https://mvnrepository.com/artifact/io.swagger.core.v3/swagger-annotations which is now reflected in these example files. * Raise jackson-databind-nullable version in example to latest v0.2.6 * Update springfox dependency to v3.x in java examples See https://github.com/springfox/springfox#migrating-from-existing-2x-version * fix maven plugin spring tests --------- Co-authored-by: Philzen <philzen@riseup.net>
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
<!-- dependencies are needed for the client being generated -->
|
||||
|
||||
<dependency>
|
||||
<groupId>io.swagger</groupId>
|
||||
<groupId>io.swagger.core.v3</groupId>
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
<version>${swagger-annotations-version}</version>
|
||||
</dependency>
|
||||
@@ -191,11 +191,11 @@
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<swagger-annotations-version>1.6.3</swagger-annotations-version>
|
||||
<swagger-annotations-version>2.2.16</swagger-annotations-version>
|
||||
<jersey-version>2.35</jersey-version>
|
||||
<jackson-version>2.13.0</jackson-version>
|
||||
<jackson-databind-version>2.13.0</jackson-databind-version>
|
||||
<jackson-databind-nullable-version>0.2.1</jackson-databind-nullable-version>
|
||||
<jackson-databind-nullable-version>0.2.6</jackson-databind-nullable-version>
|
||||
<jakarta-annotation-version>1.3.5</jakarta-annotation-version>
|
||||
<junit-version>4.13.2</junit-version>
|
||||
<scribejava-apis-version>8.3.1</scribejava-apis-version>
|
||||
|
||||
Reference in New Issue
Block a user