Skip to content

Commit 3744273

Browse files
authored
4.0.0 release (#2878)
* remove snapshot version * update readme * undo changes to example * revert apache maven version * update gradle property
1 parent dc0c24b commit 3744273

File tree

17 files changed

+27
-28
lines changed

17 files changed

+27
-28
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20
8888

8989
OpenAPI Generator Version | Release Date | Notes
9090
---------------------------- | ------------ | -----
91-
4.0.0 (upcoming release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.0.0-SNAPSHOT/)| 20.12.2018 | Major release with breaking changes (with or without fallback)
92-
[3.3.4](https://github.com/OpenAPITools/openapi-generator/releases/tag/v3.3.4) (latest stable release) | 30.11.2018 | Bugfix release
91+
[4.0.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.0.0) (latest stable release) | 13.05.2019 | Major release with breaking changes (with or without fallback)
9392

9493
OpenAPI Spec compatibility: 1.0, 1.1, 1.2, 2.0, 3.0
9594

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

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

148-
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.3.4/openapi-generator-cli-3.3.4.jar`
147+
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.0/openapi-generator-cli-4.0.0.jar`
149148

150149
For **Mac/Linux** users:
151150
```sh
152-
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.3.4/openapi-generator-cli-3.3.4.jar -O openapi-generator-cli.jar
151+
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.0/openapi-generator-cli-4.0.0.jar -O openapi-generator-cli.jar
153152
```
154153

155154
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.
156155
```
157-
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.3.4/openapi-generator-cli-3.3.4.jar
156+
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.0/openapi-generator-cli-4.0.0.jar
158157
```
159158

160159
After downloading the JAR, run `java -jar openapi-generator-cli.jar help` to show the usage.
@@ -214,7 +213,7 @@ To build from source, you need the following installed and available in your `$P
214213

215214
* [Java 8](http://java.oracle.com)
216215

217-
* [Apache maven 3.3.4 or greater](http://maven.apache.org/)
216+
* [Apache Maven 3.3.4 or greater](http://maven.apache.org/)
218217

219218
After cloning the project, you can build it from source with this command:
220219
```sh
@@ -357,10 +356,10 @@ npm install @openapitools/openapi-generator-cli -g
357356
openapi-generator version
358357
```
359358

360-
Or install a particualar OpenAPI Generator version (e.g. v3.3.4):
359+
Or install a particualar OpenAPI Generator version (e.g. v4.0.0):
361360

362361
```sh
363-
npm install @openapitools/openapi-generator-cli@cli-3.3.4 -g
362+
npm install @openapitools/openapi-generator-cli@cli-4.0.0 -g
364363
```
365364

366365
Or install it as dev-dependency:
@@ -383,7 +382,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat
383382
```
384383
(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`)
385384

386-
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.3.4/openapi-generator-cli-3.3.4.jar)
385+
You can also download the JAR (latest release) directly from [maven.org](http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.0.0/openapi-generator-cli-4.0.0.jar)
387386

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

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.0-SNAPSHOT</version>
6+
<version>4.0.0</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

modules/openapi-generator-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<parent>
66
<artifactId>openapi-generator-project</artifactId>
77
<groupId>org.openapitools</groupId>
8-
<version>4.0.0-SNAPSHOT</version>
8+
<version>4.0.0</version>
99
<relativePath>../..</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>
1212

1313
<artifactId>openapi-generator-core</artifactId>
1414
<name>openapi-generator-core</name>
1515
<url>https://github.com/openapitools/openapi-generator</url>
16-
</project>
16+
</project>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ buildscript {
4848
mavenCentral()
4949
}
5050
dependencies {
51-
classpath "org.openapitools:openapi-generator-gradle-plugin:3.3.4"
51+
classpath "org.openapitools:openapi-generator-gradle-plugin:4.0.0"
5252
}
5353
}
5454
@@ -599,7 +599,7 @@ buildscript {
599599
}
600600
dependencies {
601601
classpath 'com.android.tools.build:gradle:3.2.1'
602-
classpath('org.openapitools:openapi-generator-gradle-plugin:3.3.4') {
602+
classpath('org.openapitools:openapi-generator-gradle-plugin:4.0.0') {
603603
exclude group: 'com.google.guava'
604604
}
605605
}

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

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>3.3.4</version>
14+
<version>4.0.0</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>3.3.4</version>
15+
<version>4.0.0</version>
1616
<executions>
1717
<execution>
1818
<goals>

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>3.3.4</version>
15+
<version>4.0.0</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>3.3.4</version>
15+
<version>4.0.0</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.0-SNAPSHOT</version>
7+
<version>4.0.0</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.0-SNAPSHOT</version>
6+
<version>4.0.0</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.0-SNAPSHOT</version>
6+
<version>4.0.0</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.0-SNAPSHOT</version>
316+
<version>4.0.0</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.0-SNAPSHOT</version>
12+
<version>4.0.0</version>
1313
<url>https://github.com/openapitools/openapi-generator</url>
1414
<scm>
1515
<connection>scm:git:[email protected]: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
@@ -126,7 +126,7 @@
126126
</dependencies>
127127
<properties>
128128
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
129-
<openapi-generator-version>4.0.0-SNAPSHOT</openapi-generator-version>
129+
<openapi-generator-version>4.0.0</openapi-generator-version>
130130
<maven-plugin-version>1.0.0</maven-plugin-version>
131131
<junit-version>4.8.1</junit-version>
132132
</properties>

0 commit comments

Comments
 (0)