Skip to content

Commit c04f947

Browse files
committed
prepare for release
1 parent d55aaff commit c04f947

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The Swagger Specification has undergone 3 revisions since initial creation in 20
1818

1919
Swagger Codegen Version | Release Date | Swagger Spec compatibility | Notes
2020
----------------------- | ------------ | -------------------------- | -----
21-
2.1.3-M1-SNAPSHOT | 2015-02-23 | 1.0, 1.1, 1.2, 2.0 | [tag v2.1.0-M1](https://github.com/swagger-api/swagger-codegen)
21+
1.5.0-M2 | 2015-04-06 | 1.0, 1.1, 1.2, 2.0 | [master](https://github.com/swagger-api/swagger-codegen)
2222
2.0.17 | 2014-08-22 | 1.1, 1.2 | [tag v2.0.17](https://github.com/swagger-api/swagger-codegen/tree/v2.0.17)
2323
1.0.4 | 2012-04-12 | 1.0, 1.1 | [tag v1.0.4](https://github.com/swagger-api/swagger-codegen/tree/swagger-codegen_2.9.1-1.1)
2424

@@ -144,17 +144,22 @@ There are different aspects of customizing the code generator beyond just creati
144144
```
145145
$ ls -1 modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/
146146
AndroidClientCodegen.java
147+
AsyncScalaClientCodegen.java
148+
CSharpClientCodegen.java
147149
JavaClientCodegen.java
148150
JaxRSServerCodegen.java
149151
NodeJSServerCodegen.java
150152
ObjcClientCodegen.java
151153
PhpClientCodegen.java
152154
PythonClientCodegen.java
155+
RubyClientCodegen.java
153156
ScalaClientCodegen.java
154157
ScalatraServerCodegen.java
158+
SpringMVCServerCodegen.java
155159
StaticDocCodegen.java
156160
StaticHtmlGenerator.java
157161
SwaggerGenerator.java
162+
SwaggerYamlGenerator.java
158163
TizenClientCodegen.java
159164
```
160165

@@ -244,6 +249,14 @@ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
244249
-o samples/server/petstore/jaxrs
245250
```
246251

252+
### java spring-mvc
253+
254+
```
255+
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
256+
-i http://petstore.swagger.io/v2/swagger.json \
257+
-l spring-mvc \
258+
-o samples/server/petstore/spring-mvc
259+
```
247260
### To build the codegen library
248261

249262
This will create the swagger-codegen library from source.

modules/swagger-codegen-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>com.wordnik</groupId>
55
<artifactId>swagger-codegen-project</artifactId>
6-
<version>2.1.3-M1-SNAPSHOT</version>
6+
<version>1.5.0-M2</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>

modules/swagger-codegen/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<parent>
33
<groupId>com.wordnik</groupId>
44
<artifactId>swagger-codegen-project</artifactId>
5-
<version>2.1.3-M1-SNAPSHOT</version>
5+
<version>1.5.0-M2</version>
66
<relativePath>../..</relativePath>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99
<groupId>com.wordnik</groupId>
1010
<artifactId>swagger-codegen</artifactId>
1111
<packaging>jar</packaging>
1212
<name>swagger-codegen (core library)</name>
13-
<version>2.1.3-M1-SNAPSHOT</version>
13+
<version>1.5.0-M2</version>
1414
<build>
1515
<sourceDirectory>src/main/java</sourceDirectory>
1616
<defaultGoal>install</defaultGoal>

modules/swagger-generator/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<parent>
44
<groupId>com.wordnik</groupId>
55
<artifactId>swagger-codegen-project</artifactId>
6-
<version>2.1.3-M1-SNAPSHOT</version>
6+
<version>1.5.0-M2</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<groupId>com.wordnik</groupId>
1010
<artifactId>swagger-generator</artifactId>
1111
<packaging>war</packaging>
1212
<name>swagger-generator</name>
13-
<version>2.1.3-M1-SNAPSHOT</version>
13+
<version>1.5.0-M2</version>
1414
<build>
1515
<sourceDirectory>src/main/java</sourceDirectory>
1616
<plugins>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<artifactId>swagger-codegen-project</artifactId>
1010
<packaging>pom</packaging>
1111
<name>swagger-codegen-project</name>
12-
<version>2.1.3-M1-SNAPSHOT</version>
12+
<version>1.5.0-M2</version>
1313
<url>https://github.com/swagger-api/swagger-codegen</url>
1414
<scm>
1515
<connection>scm:git:[email protected]:swagger-api/swagger-codegen.git</connection>

0 commit comments

Comments
 (0)