Skip to content

Commit c224cf4

Browse files
authored
4.3.0 release (#5721)
1 parent cfe3b86 commit c224cf4

File tree

20 files changed

+40
-40
lines changed

20 files changed

+40
-40
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20
108108
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------------------------------------------------- |
109109
| 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) |
110110
| 4.3.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.3.0-SNAPSHOT/) | 27.03.2020 | Minor release (breaking changes with fallbacks) |
111-
| [4.2.3](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.2.3) (latest stable release) | 31.01.2019 | Backward-compatible release |
111+
| [4.3.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.3.0) (latest stable release) | 27.03.2019 | Backward-compatible release |
112112

113113
OpenAPI Spec compatibility: 1.0, 1.1, 1.2, 2.0, 3.0
114114

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

167-
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.3/openapi-generator-cli-4.2.3.jar`
167+
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.3.0/openapi-generator-cli-4.3.0.jar`
168168

169169
For **Mac/Linux** users:
170170
```sh
171-
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.3/openapi-generator-cli-4.2.3.jar -O openapi-generator-cli.jar
171+
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.3.0/openapi-generator-cli-4.3.0.jar -O openapi-generator-cli.jar
172172
```
173173

174174
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.
175175
```
176-
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.3/openapi-generator-cli-4.2.3.jar
176+
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.3.0/openapi-generator-cli-4.3.0.jar
177177
```
178178

179179
After downloading the JAR, run `java -jar openapi-generator-cli.jar help` to show the usage.
@@ -394,10 +394,10 @@ openapi-generator version
394394
```
395395

396396
<!-- RELEASE_VERSION -->
397-
Or install a particular OpenAPI Generator version (e.g. v4.2.3):
397+
Or install a particular OpenAPI Generator version (e.g. v4.3.0):
398398

399399
```sh
400-
npm install @openapitools/openapi-generator-cli@cli-4.2.3 -g
400+
npm install @openapitools/openapi-generator-cli@cli-4.3.0 -g
401401
```
402402

403403
Or install it as dev-dependency:
@@ -421,7 +421,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat
421421
(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`)
422422

423423
<!-- RELEASE_VERSION -->
424-
You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.3/openapi-generator-cli-4.2.3.jar)
424+
You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.3.0/openapi-generator-cli-4.3.0.jar)
425425
<!-- /RELEASE_VERSION -->
426426

427427
To get a list of **general** options available, please run `java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar help generate`
@@ -883,7 +883,7 @@ Here is a list of template creators:
883883
* Confluence Wiki: @jhitchcock
884884
* Configuration
885885
* Apache2: @stkrwork
886-
* k6: @mostafa
886+
* k6: @mostafa
887887
* Schema
888888
* Avro: @sgadouar
889889
* GraphQL: @wing328 [:heart:](https://www.patreon.com/wing328)

docs/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: installation
33
title: CLI Installation
44
---
55

6-
There are a number of ways to use OpenAPI Generator. This page documents how to install the CLI artifact.
6+
There are a number of ways to use OpenAPI Generator. This page documents how to install the CLI artifact.
77
Installing OpenAPI Generator's CLI tool allows users to generate all available generators from the command line.
88

99
Some of the following are cross-platform options and some are not, these are called out where possible.
@@ -12,7 +12,7 @@ Some of the following are cross-platform options and some are not, these are cal
1212

1313
> **Platform(s)**: Linux, macOS, Windows
1414
15-
The [NPM package wrapper](https://github.com/openapitools/openapi-generator-cli) is cross-platform wrapper around the .jar artifact. It works by providing a CLI wrapper atop the JAR's command line options. This gives a simple interface layer which normalizes usage of the command line across operating systems, removing some differences in how options or switches are passed to the tool (depending on OS).
15+
The [NPM package wrapper](https://github.com/openapitools/openapi-generator-cli) is cross-platform wrapper around the .jar artifact. It works by providing a CLI wrapper atop the JAR's command line options. This gives a simple interface layer which normalizes usage of the command line across operating systems, removing some differences in how options or switches are passed to the tool (depending on OS).
1616
**Install** the latest version of the tool globally, exposing the CLI on the command line:
1717

1818
```bash
@@ -22,7 +22,7 @@ npm install @openapitools/openapi-generator-cli -g
2222
To install a specific version of the tool, pass the version during installation:
2323
<!-- RELEASE_VERSION -->
2424
```bash
25-
npm install @openapitools/openapi-generator-cli@cli-4.2.3 -g
25+
npm install @openapitools/openapi-generator-cli@cli-4.3.0 -g
2626
```
2727
<!-- /RELEASE_VERSION -->
2828
To install the tool as a dev dependency in your current project:
@@ -80,18 +80,18 @@ docker run --rm \
8080
<!-- RELEASE_VERSION -->
8181
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum):
8282

83-
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.3/openapi-generator-cli-4.2.3.jar`
83+
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.3.0/openapi-generator-cli-4.3.0.jar`
8484

8585
For **Mac/Linux** users:
8686

8787
```bash
88-
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.3/openapi-generator-cli-4.2.3.jar -O openapi-generator-cli.jar
88+
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.3.0/openapi-generator-cli-4.3.0.jar -O openapi-generator-cli.jar
8989
```
9090

9191
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.
9292

9393
```powershell
94-
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.3/openapi-generator-cli-4.2.3.jar
94+
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.3.0/openapi-generator-cli-4.3.0.jar
9595
```
9696
<!-- /RELEASE_VERSION -->
9797

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.3.0-SNAPSHOT</version>
7+
<version>4.3.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.3.0-SNAPSHOT</version>
9+
<version>4.3.0</version>
1010
<!-- /RELEASE_VERSION -->
1111
<relativePath>../..</relativePath>
1212
</parent>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ task validateSpecs(dependsOn: ['validateGoodSpec', 'validateBadSpec'])
6868
[source,group]
6969
----
7070
plugins {
71-
id "org.openapi.generator" version "4.2.3"
71+
id "org.openapi.generator" version "4.3.0"
7272
}
7373
----
7474

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.3.0-SNAPSHOT
2+
openApiGeneratorVersion=4.3.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.3.0-SNAPSHOT</version>
7+
<version>4.3.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
@@ -18,5 +18,5 @@ gradle generateGoWithInvalidSpec
1818
The samples can be tested against other versions of the plugin using the `openApiGeneratorVersion` property. For example:
1919

2020
```bash
21-
gradle -PopenApiGeneratorVersion=4.2.3 openApiValidate
21+
gradle -PopenApiGeneratorVersion=4.3.0 openApiValidate
2222
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# RELEASE_VERSION
2-
openApiGeneratorVersion=4.3.0-SNAPSHOT
2+
openApiGeneratorVersion=4.3.0
33
# /RELEASE_VERSION

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

Lines changed: 2 additions & 2 deletions
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.2.3</version>
15+
<version>4.3.0</version>
1616
<!-- /RELEASE_VERSION -->
1717
<executions>
1818
<execution>
@@ -56,7 +56,7 @@ mvn clean compile
5656
| `engine` | `openapi.generator.maven.plugin.engine` | The name of templating engine to use, "mustache" (default) or "handlebars" (beta)
5757
| `auth` | `openapi.generator.maven.plugin.auth` | adds authorization headers when fetching the OpenAPI definitions remotely. Pass in a URL-encoded string of `name:header` with a comma separating multiple values
5858
| `configurationFile` | `openapi.generator.maven.plugin.configurationFile` | Path to separate json configuration file. File content should be in a json format {"optionKey":"optionValue", "optionKey1":"optionValue1"...} Supported options can be different for each language. Run `config-help -g {generator name}` command for language specific config options
59-
| `skipOverwrite` | `openapi.generator.maven.plugin.skipOverwrite` | Specifies if the existing files should be overwritten during the generation. (`false` by default)
59+
| `skipOverwrite` | `openapi.generator.maven.plugin.skipOverwrite` | Specifies if the existing files should be overwritten during the generation. (`false` by default)
6060
| `apiPackage` | `openapi.generator.maven.plugin.apiPackage` | the package to use for generated api objects/classes
6161
| `modelPackage` | `openapi.generator.maven.plugin.modelPackage` | the package to use for generated model objects/classes
6262
| `invokerPackage` | `openapi.generator.maven.plugin.invokerPackage` | the package to use for the generated invoker objects

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

Lines changed: 4 additions & 4 deletions
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.3.0-SNAPSHOT</version>
16+
<version>4.3.0</version>
1717
<!-- /RELEASE_VERSION -->
1818
<executions>
1919
<execution>
@@ -92,7 +92,7 @@
9292
</pluginRepositories>
9393
<dependencies>
9494
<!-- dependencies are needed for the client being generated -->
95-
95+
9696
<dependency>
9797
<groupId>io.swagger</groupId>
9898
<artifactId>swagger-annotations</artifactId>
@@ -101,7 +101,7 @@
101101

102102
<!-- You can find the dependencies for the library configuration you chose by looking in JavaClientCodegen.
103103
Then find the corresponding dependency on Maven Central, and set the versions in the property section below -->
104-
104+
105105
<!-- HTTP client: jersey-client -->
106106
<dependency>
107107
<groupId>org.glassfish.jersey.core</groupId>
@@ -177,7 +177,7 @@
177177
<version>2.2</version>
178178
</dependency>
179179
</dependencies>
180-
180+
181181
<properties>
182182
<swagger-annotations-version>1.5.8</swagger-annotations-version>
183183
<jersey-version>2.27</jersey-version>

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

Lines changed: 4 additions & 4 deletions
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.3.0-SNAPSHOT</version>
22+
<version>4.3.0</version>
2323
<!-- /RELEASE_VERSION -->
2424
<dependencies>
2525
<dependency>
@@ -74,7 +74,7 @@
7474
</pluginRepositories>
7575
<dependencies>
7676
<!-- dependencies are needed for the client being generated -->
77-
77+
7878
<dependency>
7979
<groupId>io.swagger</groupId>
8080
<artifactId>swagger-annotations</artifactId>
@@ -83,7 +83,7 @@
8383

8484
<!-- You can find the dependencies for the library configuation you chose by looking in JavaClientCodegen.
8585
Then find the corresponding dependency on Maven Central, and set the versions in the property section below -->
86-
86+
8787
<!-- HTTP client: jersey-client -->
8888
<dependency>
8989
<groupId>org.glassfish.jersey.core</groupId>
@@ -159,5 +159,5 @@
159159
<version>2.2</version>
160160
</dependency>
161161
</dependencies>
162-
162+
163163
</project>

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.2.3</version>
16+
<version>4.3.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.2.3</version>
16+
<version>4.3.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.3.0-SNAPSHOT</version>
8+
<version>4.3.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.3.0-SNAPSHOT</version>
7+
<version>4.3.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.3.0-SNAPSHOT</version>
7+
<version>4.3.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.3.0-SNAPSHOT</version>
13+
<version>4.3.0</version>
1414
<!-- /RELEASE_VERSION -->
1515
<url>https://github.com/openapitools/openapi-generator</url>
1616
<scm>

samples/meta-codegen/lib/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@
117117
<groupId>junit</groupId>
118118
<artifactId>junit</artifactId>
119119
<version>${junit-version}</version>
120-
</dependency>
120+
</dependency>
121121
</dependencies>
122122
<properties>
123123
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
124-
<openapi-generator-version>4.3.0-SNAPSHOT</openapi-generator-version>
124+
<openapi-generator-version>4.3.0</openapi-generator-version>
125125
<maven-plugin-version>1.0.0</maven-plugin-version>
126126
<junit-version>4.8.1</junit-version>
127127
</properties>

website/src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const callouts = [
145145
|npm install @openapitools/openapi-generator-cli -g
146146
|
147147
|# install a specific version of "openapi-generator-cli"
148-
|npm install @openapitools/openapi-generator-cli@cli-4.2.3 -g
148+
|npm install @openapitools/openapi-generator-cli@cli-4.3.0 -g
149149
|
150150
|# Or install it as dev-dependency in your node.js projects
151151
|npm install @openapitools/openapi-generator-cli -D

0 commit comments

Comments
 (0)