Skip to content

Commit fae9d4a

Browse files
authored
4.0.2 release (#3181)
* remove snapshot version * update stable version * remove build.gradle sample from relesae script
1 parent 93edd76 commit fae9d4a

File tree

19 files changed

+28
-29
lines changed

19 files changed

+28
-29
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ OpenAPI Generator Version | Release Date | Notes
9999
---------------------------- | ------------ | -----
100100
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)
101101
4.1.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.1.0-SNAPSHOT/)| 15.07.2019 | Minor release (breaking changes with fallbacks)
102-
4.0.2 (upcoming patch release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.0.1-SNAPSHOT/)| 15.06.2019 | Patch release (minor bug fixes, etc)
103-
[4.0.1](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.0.1) (latest stable release) | 31.05.2019 | Patch release (bug fixes, minor enhancements, etc)
102+
4.0.2 (upcoming patch release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.0.2-SNAPSHOT/)| 15.06.2019 | Patch release (minor bug fixes, etc)
103+
[4.0.2](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.0.2) (latest stable release) | 31.05.2019 | Patch release (bug fixes, minor enhancements, etc)
104104

105105
OpenAPI Spec compatibility: 1.0, 1.1, 1.2, 2.0, 3.0
106106

@@ -156,16 +156,16 @@ See the different versions of the [openapi-generator-cli](https://mvnrepository.
156156

157157
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum):
158158

159-
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.1/openapi-generator-cli-4.0.1.jar`
159+
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.2/openapi-generator-cli-4.0.2.jar`
160160

161161
For **Mac/Linux** users:
162162
```sh
163-
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.1/openapi-generator-cli-4.0.1.jar -O openapi-generator-cli.jar
163+
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.2/openapi-generator-cli-4.0.2.jar -O openapi-generator-cli.jar
164164
```
165165

166166
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.
167167
```
168-
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.1/openapi-generator-cli-4.0.1.jar
168+
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.2/openapi-generator-cli-4.0.2.jar
169169
```
170170

171171
After downloading the JAR, run `java -jar openapi-generator-cli.jar help` to show the usage.
@@ -368,10 +368,10 @@ npm install @openapitools/openapi-generator-cli -g
368368
openapi-generator version
369369
```
370370

371-
Or install a particualar OpenAPI Generator version (e.g. v4.0.1):
371+
Or install a particualar OpenAPI Generator version (e.g. v4.0.2):
372372

373373
```sh
374-
npm install @openapitools/openapi-generator-cli@cli-4.0.1 -g
374+
npm install @openapitools/openapi-generator-cli@cli-4.0.2 -g
375375
```
376376

377377
Or install it as dev-dependency:
@@ -394,7 +394,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat
394394
```
395395
(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`)
396396

397-
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.1/openapi-generator-cli-4.0.1.jar)
397+
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.2/openapi-generator-cli-4.0.2.jar)
398398

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

bin/utils/release_version_update_docs.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ declare -a files=("modules/openapi-generator-maven-plugin/README.md"
4141
"modules/openapi-generator-gradle-plugin/README.adoc"
4242
"modules/openapi-generator-gradle-plugin/gradle.properties"
4343
"modules/openapi-generator-gradle-plugin/samples/local-spec/gradle.properties"
44-
"modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle"
4544
"modules/openapi-generator-gradle-plugin/samples/local-spec/README.md"
4645
"README.md")
4746

modules/openapi-generator-cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openapitools</groupId>
55
<artifactId>openapi-generator-project</artifactId>
6-
<version>4.0.2-SNAPSHOT</version>
6+
<version>4.0.2</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

modules/openapi-generator-core/pom.xml

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ compileJava.dependsOn tasks.openApiGenerate
4343
[source,group]
4444
----
4545
plugins {
46-
id "org.openapi.generator" version "4.0.1"
46+
id "org.openapi.generator" version "4.0.2"
4747
}
4848
----
4949

@@ -59,7 +59,7 @@ buildscript {
5959
// url "https://plugins.gradle.org/m2/"
6060
}
6161
dependencies {
62-
classpath "org.openapitools:openapi-generator-gradle-plugin:4.0.1"
62+
classpath "org.openapitools:openapi-generator-gradle-plugin:4.0.2"
6363
}
6464
}
6565
@@ -605,7 +605,7 @@ buildscript {
605605
}
606606
dependencies {
607607
classpath 'com.android.tools.build:gradle:3.2.1'
608-
classpath('org.openapitools:openapi-generator-gradle-plugin:4.0.1') {
608+
classpath('org.openapitools:openapi-generator-gradle-plugin:4.0.2') {
609609
exclude group: 'com.google.guava'
610610
}
611611
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openApiGeneratorVersion=4.0.2-SNAPSHOT
1+
openApiGeneratorVersion=4.0.2
22

33
# BEGIN placeholders
44
# these are just placeholders to allow contributors to build directly

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openapitools</groupId>
55
<artifactId>openapi-generator-project</artifactId>
6-
<version>4.0.2-SNAPSHOT</version>
6+
<version>4.0.2</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

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.1 openApiValidate
20+
gradle -PopenApiGeneratorVersion=4.0.2 openApiValidate
2121
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
openApiGeneratorVersion=4.0.2-SNAPSHOT
1+
openApiGeneratorVersion=4.0.2

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Add to your `build->plugins` section (default phase is `generate-sources` phase)
1111
<plugin>
1212
<groupId>org.openapitools</groupId>
1313
<artifactId>openapi-generator-maven-plugin</artifactId>
14-
<version>4.0.1</version>
14+
<version>4.0.2</version>
1515
<executions>
1616
<execution>
1717
<goals>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<plugin>
1313
<groupId>org.openapitools</groupId>
1414
<artifactId>openapi-generator-maven-plugin</artifactId>
15-
<version>4.0.2-SNAPSHOT</version>
15+
<version>4.0.2</version>
1616
<executions>
1717
<execution>
1818
<goals>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<plugin>
1919
<groupId>org.openapitools</groupId>
2020
<artifactId>openapi-generator-maven-plugin</artifactId>
21-
<version>4.0.2-SNAPSHOT</version>
21+
<version>4.0.2</version>
2222
<dependencies>
2323
<dependency>
2424
<groupId>${project.groupId}</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
@@ -12,7 +12,7 @@
1212
<plugin>
1313
<groupId>org.openapitools</groupId>
1414
<artifactId>openapi-generator-maven-plugin</artifactId>
15-
<version>4.0.2-SNAPSHOT</version>
15+
<version>4.0.2</version>
1616
<executions>
1717
<execution>
1818
<goals>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<plugin>
1313
<groupId>org.openapitools</groupId>
1414
<artifactId>openapi-generator-maven-plugin</artifactId>
15-
<version>4.0.2-SNAPSHOT</version>
15+
<version>4.0.2</version>
1616
<executions>
1717
<execution>
1818
<goals>

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

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

modules/openapi-generator-online/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openapitools</groupId>
55
<artifactId>openapi-generator-project</artifactId>
6-
<version>4.0.2-SNAPSHOT</version>
6+
<version>4.0.2</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<artifactId>openapi-generator-online</artifactId>

modules/openapi-generator/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openapitools</groupId>
55
<artifactId>openapi-generator-project</artifactId>
6-
<version>4.0.2-SNAPSHOT</version>
6+
<version>4.0.2</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
@@ -313,7 +313,7 @@
313313
<dependency>
314314
<groupId>org.openapitools</groupId>
315315
<artifactId>openapi-generator-core</artifactId>
316-
<version>4.0.2-SNAPSHOT</version>
316+
<version>4.0.2</version>
317317
</dependency>
318318
</dependencies>
319319
<repositories>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<artifactId>openapi-generator-project</artifactId>
1010
<packaging>pom</packaging>
1111
<name>openapi-generator-project</name>
12-
<version>4.0.2-SNAPSHOT</version>
12+
<version>4.0.2</version>
1313
<url>https://github.com/openapitools/openapi-generator</url>
1414
<scm>
1515
<connection>scm:git:git@github.com:openapitools/openapi-generator.git</connection>

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.0.2-SNAPSHOT</openapi-generator-version>
124+
<openapi-generator-version>4.0.2</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)