6
6
7
7
[ ![ Build Status] ( https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-master-java7/badge/icon?subject=jenkins%20build%20-%20java%207 )] ( https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-master-java7/ )
8
8
9
- - Master (2.4.12 -SNAPSHOT): [ ![ Build Status] ( https://img.shields.io/travis/swagger-api/swagger-codegen/master.svg?label=Petstore%20Integration%20Test )] ( https://travis-ci.org/swagger-api/swagger-codegen )
9
+ - Master (2.4.13 -SNAPSHOT): [ ![ Build Status] ( https://img.shields.io/travis/swagger-api/swagger-codegen/master.svg?label=Petstore%20Integration%20Test )] ( https://travis-ci.org/swagger-api/swagger-codegen )
10
10
[ ![ Java Test] ( https://img.shields.io/jenkins/build.svg?jobUrl=https://jenkins.swagger.io/job/oss-swagger-codegen-master )] ( https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-master )
11
11
[ ![ Windows Test] ( https://ci.appveyor.com/api/projects/status/github/swagger-api/swagger-codegen?branch=master&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails )] ( https://ci.appveyor.com/project/swaggerhub-bot/swagger-codegen )
12
12
13
- - 3.0.16 -SNAPSHOT: [ ![ Build Status] ( https://img.shields.io/travis/swagger-api/swagger-codegen/3.0.0.svg?label=Petstore%20Integration%20Test )] ( https://travis-ci.org/swagger-api/swagger-codegen )
13
+ - 3.0.19 -SNAPSHOT: [ ![ Build Status] ( https://img.shields.io/travis/swagger-api/swagger-codegen/3.0.0.svg?label=Petstore%20Integration%20Test )] ( https://travis-ci.org/swagger-api/swagger-codegen )
14
14
[ ![ Java Test] ( https://img.shields.io/jenkins/build.svg?jobUrl=https://jenkins.swagger.io/job/oss-swagger-codegen-3 )] ( https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-3 )
15
15
[ ![ Windows Test] ( https://ci.appveyor.com/api/projects/status/github/swagger-api/swagger-codegen?branch=3.0.0&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails )] ( https://ci.appveyor.com/project/swaggerhub-bot/swagger-codegen )
16
16
@@ -52,7 +52,7 @@ dependency example:
52
52
<dependency>
53
53
<groupId>io.swagger</groupId>
54
54
<artifactId>swagger-codegen-maven-plugin</artifactId>
55
- <version>2.4.12-SNAPSHOT </version>
55
+ <version>2.4.12</version>
56
56
</dependency>
57
57
```
58
58
@@ -70,7 +70,7 @@ dependency example:
70
70
<dependency>
71
71
<groupId>io.swagger.codegen.v3</groupId>
72
72
<artifactId>swagger-codegen-maven-plugin</artifactId>
73
- <version>3.0.16-SNAPSHOT </version>
73
+ <version>3.0.18 </version>
74
74
</dependency>
75
75
```
76
76
@@ -134,7 +134,10 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20
134
134
135
135
Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
136
136
-------------------------- | ------------ | -------------------------- | -----
137
- 3.0.16-SNAPSHOT (current 3.0.0, upcoming minor release) [ SNAPSHOT] ( https://oss.sonatype.org/content/repositories/snapshots/io/swagger/codegen/v3/swagger-codegen-cli/3.0.16-SNAPSHOT/ ) | TBD | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release
137
+ 3.0.19-SNAPSHOT (current 3.0.0, upcoming minor release) [ SNAPSHOT] ( https://oss.sonatype.org/content/repositories/snapshots/io/swagger/codegen/v3/swagger-codegen-cli/3.0.19-SNAPSHOT/ ) | TBD | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release
138
+ [ 3.0.18] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.18 ) (** current stable** ) | 2020-02-26 | 1.0, 1.1, 1.2, 2.0, 3.0 | [ tag v3.0.18] ( https://github.com/swagger-api/swagger-codegen/tree/v3.0.18 )
139
+ [ 3.0.17] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.17 ) (** current stable** ) | 2020-02-23 | 1.0, 1.1, 1.2, 2.0, 3.0 | [ tag v3.0.17] ( https://github.com/swagger-api/swagger-codegen/tree/v3.0.17 )
140
+ [ 3.0.17] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.16 ) (** current stable** ) | 2020-01-15 | 1.0, 1.1, 1.2, 2.0, 3.0 | [ tag v3.0.16] ( https://github.com/swagger-api/swagger-codegen/tree/v3.0.16 )
138
141
[ 3.0.15] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.15 ) (** current stable** ) | 2020-01-03 | 1.0, 1.1, 1.2, 2.0, 3.0 | [ tag v3.0.15] ( https://github.com/swagger-api/swagger-codegen/tree/v3.0.15 )
139
142
[ 3.0.14] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.14 ) | 2019-11-16 | 1.0, 1.1, 1.2, 2.0, 3.0 | [ tag v3.0.14] ( https://github.com/swagger-api/swagger-codegen/tree/v3.0.14 )
140
143
[ 3.0.13] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.13 ) | 2019-10-16 | 1.0, 1.1, 1.2, 2.0, 3.0 | [ tag v3.0.13] ( https://github.com/swagger-api/swagger-codegen/tree/v3.0.13 )
@@ -150,7 +153,8 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
150
153
[ 3.0.2] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.2 ) | 2018-10-19 | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release
151
154
[ 3.0.1] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.1 ) | 2018-10-05 | 1.0, 1.1, 1.2, 2.0, 3.0 | Major release with breaking changes
152
155
[ 3.0.0] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.0 ) | 2018-09-06 | 1.0, 1.1, 1.2, 2.0, 3.0 | Major release with breaking changes
153
- 2.4.12-SNAPSHOT (current master, upcoming minor release) [ SNAPSHOT] ( https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/2.4.12-SNAPSHOT/ ) | TBD | 1.0, 1.1, 1.2, 2.0 | Minor release
156
+ 2.4.13-SNAPSHOT (current master, upcoming minor release) [ SNAPSHOT] ( https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/2.4.13-SNAPSHOT/ ) | TBD | 1.0, 1.1, 1.2, 2.0 | Minor release
157
+ [ 2.4.12] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.12 ) (** current stable** ) | 2020-01-15 | 1.0, 1.1, 1.2, 2.0 | [ tag v2.4.12] ( https://github.com/swagger-api/swagger-codegen/tree/v2.4.12 )
154
158
[ 2.4.11] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.11 ) (** current stable** ) | 2020-01-03 | 1.0, 1.1, 1.2, 2.0 | [ tag v2.4.11] ( https://github.com/swagger-api/swagger-codegen/tree/v2.4.11 )
155
159
[ 2.4.10] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.10 ) | 2019-11-16 | 1.0, 1.1, 1.2, 2.0 | [ tag v2.4.10] ( https://github.com/swagger-api/swagger-codegen/tree/v2.4.10 )
156
160
[ 2.4.9] ( https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.9 ) | 2019-10-14 | 1.0, 1.1, 1.2, 2.0 | [ tag v2.4.9] ( https://github.com/swagger-api/swagger-codegen/tree/v2.4.9 )
@@ -177,12 +181,16 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
177
181
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum):
178
182
179
183
``` sh
180
- wget http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.10/swagger-codegen-cli-2.4.10.jar -O swagger-codegen-cli.jar
184
+ # Download current stable 2.x.x branch (Swagger and OpenAPI version 2)
185
+ wget https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.12/swagger-codegen-cli-2.4.12.jar -O swagger-codegen-cli.jar
186
+
187
+ # Download current stable 3.x.x branch (OpenAPI version 3)
188
+ wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.18/swagger-codegen-cli-3.0.18.jar -O swagger-codegen-cli.jar
181
189
182
190
java -jar swagger-codegen-cli.jar help
183
191
```
184
192
185
- 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. ` Invoke-WebRequest -OutFile swagger-codegen-cli.jar http ://central .maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.10 /swagger-codegen-cli-2.4.10 .jar `
193
+ 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. ` Invoke-WebRequest -OutFile swagger-codegen-cli.jar https ://repo1 .maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.12 /swagger-codegen-cli-2.4.12 .jar `
186
194
187
195
On a mac, it's even easier with ` brew ` :
188
196
``` sh
@@ -327,7 +335,7 @@ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
327
335
```
328
336
(if you're on Windows, replace the last command with ` java -jar modules\swagger-codegen-cli\target\swagger-codegen-cli.jar generate -i http://petstore.swagger.io/v2/swagger.json -l php -o c:\temp\php_api_client ` )
329
337
330
- You can also download the JAR (latest release) directly from [ maven.org] ( http ://central .maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.10 /swagger-codegen-cli-2.4.10 .jar)
338
+ You can also download the JAR (latest release) directly from [ maven.org] ( https ://repo1 .maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.12 /swagger-codegen-cli-2.4.12 .jar)
331
339
332
340
To get a list of ** general** options available, please run ` java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar help generate `
333
341
0 commit comments