Skip to content

Commit 59c4e38

Browse files
authored
Prepare 4.1.0 release (#3597)
* update pom * update doc * update version * add dep for nullable annotaiton
1 parent 1ab7b9c commit 59c4e38

File tree

18 files changed

+40
-26
lines changed

18 files changed

+40
-26
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ OpenAPI Generator Version | Release Date | Notes
102102
---------------------------- | ------------ | -----
103103
5.0.0 (upcoming major release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/5.0.0-SNAPSHOT/)| 13.05.2020 | Major release with breaking changes (no fallback)
104104
4.1.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.1.0-SNAPSHOT/)| 31.07.2019 | Minor release (breaking changes with fallbacks)
105-
[4.0.3](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.0.3) (latest stable release) | 09.07.2019 | Patch release (bug fixes, minor enhancements, etc)
105+
[4.1.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.1.0) (latest stable release) | 09.07.2019 | Patch release (bug fixes, minor enhancements, etc)
106106

107107
OpenAPI Spec compatibility: 1.0, 1.1, 1.2, 2.0, 3.0
108108

@@ -158,16 +158,16 @@ See the different versions of the [openapi-generator-cli](https://mvnrepository.
158158
<!-- RELEASE_VERSION -->
159159
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum):
160160

161-
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.3/openapi-generator-cli-4.0.3.jar`
161+
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.1.0/openapi-generator-cli-4.1.0.jar`
162162

163163
For **Mac/Linux** users:
164164
```sh
165-
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.3/openapi-generator-cli-4.0.3.jar -O openapi-generator-cli.jar
165+
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.1.0/openapi-generator-cli-4.1.0.jar -O openapi-generator-cli.jar
166166
```
167167

168168
For **Windows** users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g.
169169
```
170-
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.3/openapi-generator-cli-4.0.3.jar
170+
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.1.0/openapi-generator-cli-4.1.0.jar
171171
```
172172

173173
After downloading the JAR, run `java -jar openapi-generator-cli.jar help` to show the usage.
@@ -382,10 +382,10 @@ openapi-generator version
382382
```
383383

384384
<!-- RELEASE_VERSION -->
385-
Or install a particular OpenAPI Generator version (e.g. v4.0.3):
385+
Or install a particular OpenAPI Generator version (e.g. v4.1.0):
386386

387387
```sh
388-
npm install @openapitools/openapi-generator-cli@cli-4.0.3 -g
388+
npm install @openapitools/openapi-generator-cli@cli-4.1.0 -g
389389
```
390390

391391
Or install it as dev-dependency:
@@ -409,7 +409,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat
409409
(if you're on Windows, replace the last command with `java -jar modules\openapi-generator-cli\target\openapi-generator-cli.jar generate -i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g php -o c:\temp\php_api_client`)
410410

411411
<!-- RELEASE_VERSION -->
412-
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.3/openapi-generator-cli-4.0.3.jar)
412+
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.1.0/openapi-generator-cli-4.1.0.jar)
413413
<!-- /RELEASE_VERSION -->
414414

415415
To get a list of **general** options available, please run `java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar help generate`

modules/openapi-generator-cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>org.openapitools</groupId>
55
<artifactId>openapi-generator-project</artifactId>
66
<!-- RELEASE_VERSION -->
7-
<version>4.1.0-SNAPSHOT</version>
7+
<version>4.1.0</version>
88
<!-- /RELEASE_VERSION -->
99
<relativePath>../..</relativePath>
1010
</parent>

modules/openapi-generator-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<artifactId>openapi-generator-project</artifactId>
77
<groupId>org.openapitools</groupId>
88
<!-- RELEASE_VERSION -->
9-
<version>4.1.0-SNAPSHOT</version>
9+
<version>4.1.0</version>
1010
<!-- /RELEASE_VERSION -->
1111
<relativePath>../..</relativePath>
1212
</parent>

modules/openapi-generator-gradle-plugin/README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ compileJava.dependsOn tasks.openApiGenerate
4545
[source,group]
4646
----
4747
plugins {
48-
id "org.openapi.generator" version "4.0.3"
48+
id "org.openapi.generator" version "4.1.0"
4949
}
5050
----
5151

@@ -61,7 +61,7 @@ buildscript {
6161
// url "https://plugins.gradle.org/m2/"
6262
}
6363
dependencies {
64-
classpath "org.openapitools:openapi-generator-gradle-plugin:4.0.3"
64+
classpath "org.openapitools:openapi-generator-gradle-plugin:4.1.0"
6565
}
6666
}
6767
@@ -609,7 +609,7 @@ buildscript {
609609
}
610610
dependencies {
611611
classpath 'com.android.tools.build:gradle:3.2.1'
612-
classpath('org.openapitools:openapi-generator-gradle-plugin:4.0.3') {
612+
classpath('org.openapitools:openapi-generator-gradle-plugin:4.1.0') {
613613
exclude group: 'com.google.guava'
614614
}
615615
}

modules/openapi-generator-gradle-plugin/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# RELEASE_VERSION
2-
openApiGeneratorVersion=4.1.0-SNAPSHOT
2+
openApiGeneratorVersion=4.1.0
33
# /RELEASE_VERSION
44

55
# BEGIN placeholders

modules/openapi-generator-gradle-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>org.openapitools</groupId>
55
<artifactId>openapi-generator-project</artifactId>
66
<!-- RELEASE_VERSION -->
7-
<version>4.1.0-SNAPSHOT</version>
7+
<version>4.1.0</version>
88
<!-- /RELEASE_VERSION -->
99
<relativePath>../..</relativePath>
1010
</parent>

modules/openapi-generator-gradle-plugin/samples/local-spec/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ gradle generateGoWithInvalidSpec
1717
The samples can be tested against other versions of the plugin using the `openApiGeneratorVersion` property. For example:
1818

1919
```bash
20-
gradle -PopenApiGeneratorVersion=4.0.3 openApiValidate
20+
gradle -PopenApiGeneratorVersion=4.1.0 openApiValidate
2121
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# RELEASE_VERSION
2-
openApiGeneratorVersion=4.0.3
2+
openApiGeneratorVersion=4.1.0
33
# /RELEASE_VERSION

modules/openapi-generator-maven-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Add to your `build->plugins` section (default phase is `generate-sources` phase)
1212
<groupId>org.openapitools</groupId>
1313
<artifactId>openapi-generator-maven-plugin</artifactId>
1414
<!-- RELEASE_VERSION -->
15-
<version>4.0.3</version>
15+
<version>4.1.0</version>
1616
<!-- /RELEASE_VERSION -->
1717
<executions>
1818
<execution>

modules/openapi-generator-maven-plugin/examples/java-client.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<groupId>org.openapitools</groupId>
1414
<artifactId>openapi-generator-maven-plugin</artifactId>
1515
<!-- RELEASE_VERSION -->
16-
<version>4.0.3</version>
16+
<version>4.1.0</version>
1717
<!-- /RELEASE_VERSION -->
1818
<executions>
1919
<execution>
@@ -88,6 +88,13 @@
8888
<version>${jersey-version}</version>
8989
</dependency>
9090

91+
<!-- @Nullable annotation -->
92+
<dependency>
93+
<groupId>com.google.code.findbugs</groupId>
94+
<artifactId>jsr305</artifactId>
95+
<version>3.0.2</version>
96+
</dependency>
97+
9198
<!-- JSON processing: jackson -->
9299
<dependency>
93100
<groupId>com.fasterxml.jackson.jaxrs</groupId>

modules/openapi-generator-maven-plugin/examples/multi-module/java-client/pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<groupId>org.openapitools</groupId>
2020
<artifactId>openapi-generator-maven-plugin</artifactId>
2121
<!-- RELEASE_VERSION -->
22-
<version>4.0.3</version>
22+
<version>4.1.0</version>
2323
<!-- /RELEASE_VERSION -->
2424
<dependencies>
2525
<dependency>
@@ -101,6 +101,13 @@
101101
<version>${jersey-version}</version>
102102
</dependency>
103103

104+
<!-- @Nullable annotation -->
105+
<dependency>
106+
<groupId>com.google.code.findbugs</groupId>
107+
<artifactId>jsr305</artifactId>
108+
<version>3.0.2</version>
109+
</dependency>
110+
104111
<!-- JSON processing: jackson -->
105112
<dependency>
106113
<groupId>com.fasterxml.jackson.jaxrs</groupId>

modules/openapi-generator-maven-plugin/examples/non-java-invalid-spec.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<groupId>org.openapitools</groupId>
1414
<artifactId>openapi-generator-maven-plugin</artifactId>
1515
<!-- RELEASE_VERSION -->
16-
<version>4.0.3</version>
16+
<version>4.1.0</version>
1717
<!-- /RELEASE_VERSION -->
1818
<executions>
1919
<execution>

modules/openapi-generator-maven-plugin/examples/non-java.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<groupId>org.openapitools</groupId>
1414
<artifactId>openapi-generator-maven-plugin</artifactId>
1515
<!-- RELEASE_VERSION -->
16-
<version>4.0.3</version>
16+
<version>4.1.0</version>
1717
<!-- /RELEASE_VERSION -->
1818
<executions>
1919
<execution>

modules/openapi-generator-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>org.openapitools</groupId>
66
<artifactId>openapi-generator-project</artifactId>
77
<!-- RELEASE_VERSION -->
8-
<version>4.1.0-SNAPSHOT</version>
8+
<version>4.1.0</version>
99
<!-- /RELEASE_VERSION -->
1010
<relativePath>../..</relativePath>
1111
</parent>

modules/openapi-generator-online/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>org.openapitools</groupId>
55
<artifactId>openapi-generator-project</artifactId>
66
<!-- RELEASE_VERSION -->
7-
<version>4.1.0-SNAPSHOT</version>
7+
<version>4.1.0</version>
88
<!-- /RELEASE_VERSION -->
99
<relativePath>../..</relativePath>
1010
</parent>

modules/openapi-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>org.openapitools</groupId>
55
<artifactId>openapi-generator-project</artifactId>
66
<!-- RELEASE_VERSION -->
7-
<version>4.1.0-SNAPSHOT</version>
7+
<version>4.1.0</version>
88
<!-- /RELEASE_VERSION -->
99
<relativePath>../..</relativePath>
1010
</parent>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<packaging>pom</packaging>
1111
<name>openapi-generator-project</name>
1212
<!-- RELEASE_VERSION -->
13-
<version>4.1.0-SNAPSHOT</version>
13+
<version>4.1.0</version>
1414
<!-- /RELEASE_VERSION -->
1515
<url>https://github.com/openapitools/openapi-generator</url>
1616
<scm>

samples/meta-codegen/lib/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
</dependencies>
122122
<properties>
123123
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
124-
<openapi-generator-version>4.1.0-SNAPSHOT</openapi-generator-version>
124+
<openapi-generator-version>4.1.0</openapi-generator-version>
125125
<maven-plugin-version>1.0.0</maven-plugin-version>
126126
<junit-version>4.8.1</junit-version>
127127
</properties>

0 commit comments

Comments
 (0)