Skip to content

Commit 4bd2272

Browse files
committed
updated version
1 parent 5c31d68 commit 4bd2272

File tree

6 files changed

+28
-9
lines changed

6 files changed

+28
-9
lines changed

README.md

Lines changed: 1 addition & 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 compatability | Notes
2020
----------------------- | ------------ | -------------------------- | -----
21-
2.1.2-M1-SNAPSHOT | 2015-02-17 | 1.0, 1.1, 1.2, 2.0 | [tag v2.1.0-M1](https://github.com/swagger-api/swagger-codegen/tree/v2.1.0-M1)
21+
2.1.2-M1 | 2015-02-23 | 1.0, 1.1, 1.2, 2.0 | [tag v2.1.0-M1](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

modules/swagger-codegen-distribution/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.2-M1-SNAPSHOT</version>
5+
<version>2.1.2-M1</version>
66
<relativePath>../..</relativePath>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99
<groupId>com.wordnik</groupId>
1010
<artifactId>swagger-codegen-distribution</artifactId>
1111
<packaging>jar</packaging>
1212
<name>swagger-codegen (executable)</name>
13-
<version>2.1.2-M1-SNAPSHOT</version>
13+
<version>2.1.2-M1</version>
1414
<build>
1515
<testSourceDirectory>src/test/scala</testSourceDirectory>
1616
<outputDirectory>target/classes</outputDirectory>

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.2-M1-SNAPSHOT</version>
5+
<version>2.1.2-M1</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.2-M1-SNAPSHOT</version>
13+
<version>2.1.2-M1</version>
1414
<build>
1515
<sourceDirectory>src/main/java</sourceDirectory>
1616
<defaultGoal>install</defaultGoal>

modules/swagger-generator/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.2-M1-SNAPSHOT</version>
6+
<version>2.1.2-M1</version>
77
<relativePath>../..</relativePath>
88
</parent>
99
<groupId>com.wordnik</groupId>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import com.wordnik.swagger.online._
2+
import com.wordnik.swagger.generator.model._
3+
import com.wordnik.swagger.util.Json
4+
5+
import org.junit.runner.RunWith
6+
import org.scalatest.junit.JUnitRunner
7+
import org.scalatest.FlatSpec
8+
import org.scalatest.Matchers
9+
10+
import scala.collection.JavaConverters._
11+
12+
@RunWith(classOf[JUnitRunner])
13+
class GeneratorInputTest extends FlatSpec with Matchers {
14+
it should "write an object" in {
15+
val obj = new GeneratorInput()
16+
obj.setSwaggerUrl("http://petstore.swagger.io/v2/swagger.json")
17+
Json.prettyPrint(obj)
18+
}
19+
}

pom.xml

Lines changed: 3 additions & 3 deletions
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.2-M1-SNAPSHOT</version>
12+
<version>2.1.2-M1</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>
@@ -347,10 +347,10 @@
347347
</repository>
348348
</repositories>
349349
<properties>
350-
<swagger-parser-version>1.0.0</swagger-parser-version>
350+
<swagger-parser-version>1.0.1</swagger-parser-version>
351351
<scala-version>2.11.1</scala-version>
352352
<felix-version>2.3.4</felix-version>
353-
<swagger-core-version>1.5.1-M1</swagger-core-version>
353+
<swagger-core-version>1.5.2-M1</swagger-core-version>
354354
<scala-test-version>2.1.4</scala-test-version>
355355
<commons-io-version>2.3</commons-io-version>
356356
<commons-cli-version>1.2</commons-cli-version>

0 commit comments

Comments
 (0)