diff --git a/README.md b/README.md index 774169b9dcb..02a2d8b9356 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ [![Build Status](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) -- 3.0.26-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) +- 3.0.27-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) [![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) -- Master (2.4.20-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) +- Master (2.4.21-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) [![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) [![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) @@ -37,7 +37,7 @@ dependency example: io.swagger.codegen.v3 swagger-codegen-maven-plugin - 3.0.25 + 3.0.26 ``` @@ -54,7 +54,7 @@ dependency example: io.swagger swagger-codegen-maven-plugin - 2.4.19 + 2.4.20 ``` @@ -112,8 +112,9 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20 Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes -------------------------- | ------------ | -------------------------- | ----- -3.0.26-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.26-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release -[3.0.25](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.25) (**current stable**) | 2021-03-04 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.25](https://github.com/swagger-api/swagger-codegen/tree/v3.0.25) +3.0.27-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.27-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release +[3.0.26](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.26) (**current stable**) | 2021-05-28 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.26](https://github.com/swagger-api/swagger-codegen/tree/v3.0.26) +[3.0.25](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.25) | 2021-03-04 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.25](https://github.com/swagger-api/swagger-codegen/tree/v3.0.25) [3.0.24](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.24) | 2020-12-29 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.24](https://github.com/swagger-api/swagger-codegen/tree/v3.0.24) [3.0.23](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.23) | 2020-11-02 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.23](https://github.com/swagger-api/swagger-codegen/tree/v3.0.23) [3.0.22](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.22) | 2020-10-05 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.22](https://github.com/swagger-api/swagger-codegen/tree/v3.0.22) @@ -138,8 +139,9 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes [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 [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 [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 -2.4.20-SNAPSHOT (current master, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/2.4.20-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0 | Minor release -[2.4.19](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.19) (**current stable**) | 2021-03-04 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.19](https://github.com/swagger-api/swagger-codegen/tree/v2.4.19) +2.4.21-SNAPSHOT (current master, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/2.4.21-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0 | Minor release +[2.4.20](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.20) (**current stable**) | 2021-05-28 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.20](https://github.com/swagger-api/swagger-codegen/tree/v2.4.20) +[2.4.19](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.19) | 2021-03-04 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.19](https://github.com/swagger-api/swagger-codegen/tree/v2.4.19) [2.4.18](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.18) | 2020-12-29 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.18](https://github.com/swagger-api/swagger-codegen/tree/v2.4.18) [2.4.17](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.17) | 2020-11-02 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.17](https://github.com/swagger-api/swagger-codegen/tree/v2.4.17) [2.4.16](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.16) | 2020-10-05 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.16](https://github.com/swagger-api/swagger-codegen/tree/v2.4.16) @@ -172,12 +174,12 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum): ```sh -wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.25/swagger-codegen-cli-3.0.25.jar -O swagger-codegen-cli.jar +wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.26/swagger-codegen-cli-3.0.26.jar -O swagger-codegen-cli.jar java -jar swagger-codegen-cli.jar --help ``` -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/codegen/v3/swagger-codegen-cli/3.0.25/swagger-codegen-cli-3.0.25.jar` +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/codegen/v3/swagger-codegen-cli/3.0.26/swagger-codegen-cli-3.0.26.jar` On a mac, it's even easier with `brew`: ```sh diff --git a/modules/swagger-codegen-cli/pom.xml b/modules/swagger-codegen-cli/pom.xml index e6aa144bcb8..5b2b4cb64c4 100644 --- a/modules/swagger-codegen-cli/pom.xml +++ b/modules/swagger-codegen-cli/pom.xml @@ -3,7 +3,7 @@ io.swagger.codegen.v3 swagger-codegen-project - 3.0.26-SNAPSHOT + 3.0.26 ../.. 4.0.0 diff --git a/modules/swagger-codegen-maven-plugin/pom.xml b/modules/swagger-codegen-maven-plugin/pom.xml index 743f40541b8..57c0b7975ad 100644 --- a/modules/swagger-codegen-maven-plugin/pom.xml +++ b/modules/swagger-codegen-maven-plugin/pom.xml @@ -6,7 +6,7 @@ io.swagger.codegen.v3 swagger-codegen-project - 3.0.26-SNAPSHOT + 3.0.26 ../.. swagger-codegen-maven-plugin diff --git a/modules/swagger-codegen/pom.xml b/modules/swagger-codegen/pom.xml index fd11f78dd42..76dbd24215b 100644 --- a/modules/swagger-codegen/pom.xml +++ b/modules/swagger-codegen/pom.xml @@ -3,7 +3,7 @@ io.swagger.codegen.v3 swagger-codegen-project - 3.0.26-SNAPSHOT + 3.0.26 ../.. 4.0.0 @@ -200,7 +200,7 @@ 1.3.0 - 2.4.20-SNAPSHOT + 2.4.20 diff --git a/modules/swagger-codegen/src/test/java/io/swagger/codegen/v3/service/GeneratorServiceTest.java b/modules/swagger-codegen/src/test/java/io/swagger/codegen/v3/service/GeneratorServiceTest.java index 439934c4068..a389172eddb 100644 --- a/modules/swagger-codegen/src/test/java/io/swagger/codegen/v3/service/GeneratorServiceTest.java +++ b/modules/swagger-codegen/src/test/java/io/swagger/codegen/v3/service/GeneratorServiceTest.java @@ -599,7 +599,7 @@ public void testGeneratorService_ResolvedSpec() throws IOException { new GeneratorService().generationRequest(request).generate(); String spec = FileUtils.readFileToString(new File(path + File.separator + "openapi.json")); Assert.assertFalse(spec.contains("#/components/schemas/inline_response_200")); - Assert.assertFalse(spec.contains("#/components/schemas/body")); + Assert.assertFalse(spec.contains("#/components/schemas/productflatten_body")); path = getTmpFolder().getAbsolutePath(); request = new GenerationRequest(); @@ -618,7 +618,7 @@ public void testGeneratorService_ResolvedSpec() throws IOException { new GeneratorService().generationRequest(request).generate(); spec = FileUtils.readFileToString(new File(path + File.separator + "openapi.yaml")); Assert.assertFalse(spec.contains("#/components/schemas/inline_response_200")); - Assert.assertFalse(spec.contains("#/components/schemas/body")); + Assert.assertFalse(spec.contains("#/components/schemas/productflatten_body")); path = getTmpFolder().getAbsolutePath(); @@ -636,7 +636,7 @@ public void testGeneratorService_ResolvedSpec() throws IOException { new GeneratorService().generationRequest(request).generate(); spec = FileUtils.readFileToString(new File(path + File.separator + "openapi.json")); Assert.assertTrue(spec.contains("#/components/schemas/inline_response_200")); - Assert.assertTrue(spec.contains("#/components/schemas/body")); + Assert.assertTrue(spec.contains("#/components/schemas/productflatten_body")); path = getTmpFolder().getAbsolutePath(); @@ -654,7 +654,7 @@ public void testGeneratorService_ResolvedSpec() throws IOException { new GeneratorService().generationRequest(request).generate(); spec = FileUtils.readFileToString(new File(path + File.separator + "openapi.yaml")); Assert.assertTrue(spec.contains("#/components/schemas/inline_response_200")); - Assert.assertTrue(spec.contains("#/components/schemas/body")); + Assert.assertTrue(spec.contains("#/components/schemas/productflatten_body")); path = getTmpFolder().getAbsolutePath(); request = new GenerationRequest(); diff --git a/modules/swagger-generator/pom.xml b/modules/swagger-generator/pom.xml index 8ef7961898f..573bd6bd091 100644 --- a/modules/swagger-generator/pom.xml +++ b/modules/swagger-generator/pom.xml @@ -4,7 +4,7 @@ io.swagger.codegen.v3 swagger-codegen-project - 3.0.26-SNAPSHOT + 3.0.26 ../.. swagger-generator diff --git a/pom.xml b/pom.xml index 47a5e3ef655..74aeb51ebca 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ swagger-codegen-project pom swagger-codegen-project - 3.0.26-SNAPSHOT + 3.0.26 https://github.com/swagger-api/swagger-codegen scm:git:git@github.com:swagger-api/swagger-codegen.git @@ -1149,11 +1149,11 @@ - 1.0.26-SNAPSHOT - 2.1.4 + 1.0.26 + 2.1.9 1.6.2 - 2.0.23 - 1.0.54 + 2.0.26 + 1.0.55 2.11.4 2.11.1 3.3.0 diff --git a/pom.xml.bash b/pom.xml.bash index 8be0d00e294..ec2ba083f35 100644 --- a/pom.xml.bash +++ b/pom.xml.bash @@ -9,7 +9,7 @@ swagger-codegen-project pom swagger-codegen-project - 3.0.26-SNAPSHOT + 3.0.26 https://github.com/swagger-api/swagger-codegen scm:git:git@github.com:swagger-api/swagger-codegen.git @@ -1046,11 +1046,11 @@ - 1.0.26-SNAPSHOT - 2.1.4 + 1.0.26 + 2.1.9 1.6.2 - 2.0.23 - 1.0.54 + 2.0.26 + 1.0.55 2.11.4 2.11.1 3.3.0 diff --git a/pom.xml.shippable b/pom.xml.shippable index cbb9e5fc8ac..14669085802 100644 --- a/pom.xml.shippable +++ b/pom.xml.shippable @@ -9,7 +9,7 @@ swagger-codegen-project pom swagger-codegen-project - 3.0.26-SNAPSHOT + 3.0.26 https://github.com/swagger-api/swagger-codegen scm:git:git@github.com:swagger-api/swagger-codegen.git @@ -1048,11 +1048,11 @@ - 1.0.26-SNAPSHOT - 2.1.4 + 1.0.26 + 2.1.9 1.6.2 - 2.0.23 - 1.0.54 + 2.0.26 + 1.0.55 2.11.4 2.11.1 3.3.0