Skip to content

Commit 34070bd

Browse files
authored
Prepare 4.2.0 release (#4333)
* remove snapshot * update doc
1 parent d624b28 commit 34070bd

File tree

13 files changed

+20
-20
lines changed

13 files changed

+20
-20
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,16 +159,16 @@ See the different versions of the [openapi-generator-cli](https://mvnrepository.
159159
<!-- RELEASE_VERSION -->
160160
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum):
161161

162-
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.1.3/openapi-generator-cli-4.1.3.jar`
162+
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.0/openapi-generator-cli-4.2.0.jar`
163163

164164
For **Mac/Linux** users:
165165
```sh
166-
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.1.3/openapi-generator-cli-4.1.3.jar -O openapi-generator-cli.jar
166+
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.0/openapi-generator-cli-4.2.0.jar -O openapi-generator-cli.jar
167167
```
168168

169169
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.
170170
```
171-
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.1.3/openapi-generator-cli-4.1.3.jar
171+
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.0/openapi-generator-cli-4.2.0.jar
172172
```
173173

174174
After downloading the JAR, run `java -jar openapi-generator-cli.jar help` to show the usage.
@@ -383,10 +383,10 @@ openapi-generator version
383383
```
384384

385385
<!-- RELEASE_VERSION -->
386-
Or install a particular OpenAPI Generator version (e.g. v4.1.3):
386+
Or install a particular OpenAPI Generator version (e.g. v4.2.0):
387387

388388
```sh
389-
npm install @openapitools/openapi-generator-cli@cli-4.1.3 -g
389+
npm install @openapitools/openapi-generator-cli@cli-4.2.0 -g
390390
```
391391

392392
Or install it as dev-dependency:
@@ -410,7 +410,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat
410410
(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`)
411411

412412
<!-- RELEASE_VERSION -->
413-
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.1.3/openapi-generator-cli-4.1.3.jar)
413+
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.0/openapi-generator-cli-4.2.0.jar)
414414
<!-- /RELEASE_VERSION -->
415415

416416
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.2.0-SNAPSHOT</version>
7+
<version>4.2.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.2.0-SNAPSHOT</version>
9+
<version>4.2.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.1.1"
48+
id "org.openapi.generator" version "4.2.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.1.1"
64+
classpath "org.openapitools:openapi-generator-gradle-plugin:4.2.0"
6565
}
6666
}
6767
@@ -626,7 +626,7 @@ buildscript {
626626
}
627627
dependencies {
628628
classpath 'com.android.tools.build:gradle:3.2.1'
629-
classpath('org.openapitools:openapi-generator-gradle-plugin:4.1.1') {
629+
classpath('org.openapitools:openapi-generator-gradle-plugin:4.2.0') {
630630
exclude group: 'com.google.guava'
631631
}
632632
}

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.2.0-SNAPSHOT
2+
openApiGeneratorVersion=4.2.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.2.0-SNAPSHOT</version>
7+
<version>4.2.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.1.1 openApiValidate
20+
gradle -PopenApiGeneratorVersion=4.2.0 openApiValidate
2121
```

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.1.1</version>
15+
<version>4.2.0</version>
1616
<!-- /RELEASE_VERSION -->
1717
<executions>
1818
<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.2.0-SNAPSHOT</version>
8+
<version>4.2.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.2.0-SNAPSHOT</version>
7+
<version>4.2.0</version>
88
<!-- /RELEASE_VERSION -->
99
<relativePath>../..</relativePath>
1010
</parent>

0 commit comments

Comments
 (0)