Skip to content

Releases: swagger-api/swagger-codegen

Swagger Codegen 3.0.12 has been released!

14 Oct 18:17
e8d4a76
Compare
Choose a tag to compare

3.0.12 release of swagger-codegen with OpenAPI 3 support.

Supported V3 generators

  • javascript (new, experimental)
  • micronaut (new, experimental)
  • akka-scala (experimental)
  • dynamic-html
  • html
  • html2
  • java
  • jaxrs-cxf-client
  • jaxrs-cxf
  • inflector
  • jaxrs-cxf-cdi
  • jaxrs-spec
  • jaxrs-jersey
  • jaxrs-di
  • jaxrs-resteasy-eap
  • jaxrs-resteasy
  • spring
  • openapi
  • openapi-yaml
  • kotlin-client
  • kotlin-server
  • nodejs (experimental)
  • php
  • swift3
  • swift4
  • typescript-angular
  • scala
  • aspnetcore
  • csharp
  • csharp-dotnet2 (DEPRECATED)
  • python
  • python-flask (experimental)

Notable changes:

Swagger Codegen 2.4.9 has been released!

14 Oct 15:28
a021141
Compare
Choose a tag to compare
  • Use 1.8 grammar for jenv not explicit JDK (#9769)
  • refs #7866 - revert #9700 (#9768)
  • refs #9725 - fix response schema flattening for arrays and maps (#9765)
  • refs #9753 - fixes resteasy dateLibrary dependent code (#9760)
  • [Python] Add missing reserved words (#9755)
  • update jackson to 2.9.10 (#9739)
  • [Issue 9685] Make RestTemplate thread safe by using the withHttpInfo pattern used … (#9737)
  • [Issue 9178] Handle multiple formats when decoding dates (#9730)
  • fixed examples over quotes (#9701)
  • fixed incorrect model name prefix and suffix issue (#9700)
  • [python] Issue #8483. cannot import name BoolQuery from import swagger_client (#9689)

Swagger Codegen 3.0.11 has been released!

23 Aug 15:52
c66d5ab
Compare
Choose a tag to compare

3.0.11 release of swagger-codegen with OpenAPI 3 support.

Supported V3 generators

  • akka-scala (experimental)
  • dynamic-html
  • html
  • html2
  • java
  • jaxrs-cxf-client
  • jaxrs-cxf
  • inflector
  • jaxrs-cxf-cdi
  • jaxrs-spec
  • jaxrs-jersey
  • jaxrs-di
  • jaxrs-resteasy-eap
  • jaxrs-resteasy
  • spring
  • openapi
  • openapi-yaml
  • kotlin-client
  • kotlin-server
  • nodejs (experimental)
  • php
  • swift3
  • swift4
  • typescript-angular
  • scala
  • aspnetcore
  • csharp
  • csharp-dotnet2 (DEPRECATED)
  • python
  • python-flask (experimental)

Notable changes:

Swagger Codegen 2.4.8 has been released!

23 Aug 14:35
453bbf3
Compare
Choose a tag to compare
  • refs #9585 - fixes version in poms (#9620)
  • #8808 NPE while generating static HTML from validated swagger.yaml (#9615)
  • update jackson version in java templates and rxjs in angular templates (#9584)
  • Fixing support for references in Maps (#9576)
  • clearing temp directories from CodegenIgnoreProcessorTest (#9568)

Swagger Codegen 3.0.10 has been released!

11 Jul 13:04
7d22b5b
Compare
Choose a tag to compare

3.0.10 release of swagger-codegen with OpenAPI 3 support.

Supported V3 generators

  • akka-scala (experimental)
  • dynamic-html
  • html
  • html2
  • java
  • jaxrs-cxf-client
  • jaxrs-cxf
  • inflector
  • jaxrs-cxf-cdi
  • jaxrs-spec
  • jaxrs-jersey
  • jaxrs-di
  • jaxrs-resteasy-eap
  • jaxrs-resteasy
  • spring
  • openapi
  • openapi-yaml
  • kotlin-client
  • kotlin-server
  • nodejs (experimental)
  • php
  • swift3
  • swift4
  • typescript-angular
  • scala
  • aspnetcore (UPDATED)
  • csharp (UPDATED)
  • csharp-dotnet2 (DEPRECATED)
  • python
  • python-flask (experimental)

Notable changes:

Swagger Codegen 2.4.7 has been released!

11 Jul 11:23
12eda15
Compare
Choose a tag to compare
  • ref #9540 - fix regression in generate options (#9550)
  • ref #6394 - limit to 10 examples for array types (#9553)

Swagger Codegen 3.0.9 has been released!

28 Jun 13:34
92f358b
Compare
Choose a tag to compare

3.0.9 release of swagger-codegen with OpenAPI 3 support.

Supported V3 generators

  • akka-scala (experimental)
  • dynamic-html
  • html
  • html2
  • java
  • jaxrs-cxf-client
  • jaxrs-cxf
  • inflector
  • jaxrs-cxf-cdi
  • jaxrs-spec
  • jaxrs-jersey
  • jaxrs-di
  • jaxrs-resteasy-eap
  • jaxrs-resteasy
  • spring
  • openapi
  • openapi-yaml
  • kotlin-client
  • kotlin-server
  • nodejs (experimental)
  • php
  • swift3
  • swift4
  • typescript-angular
  • scala
  • aspnetcore (UPDATED)
  • csharp (UPDATED)
  • csharp-dotnet2 (DEPRECATED)
  • python
  • python-flask (experimental)

Notable changes:

Notes about aspnetcore generator updates:

supported environments

ASP.NET Core 2.0, 2.1, 2.2 (default)

significant options

--interface-only : only generate interfaces for controllers
--interface-controller : generate interfaces for controllers, implemented by a default controller implementation

when neither interface-only nor interface-controller are set, no interfaces are generated.

--aspnet-core-version (e.g. --aspnet-core-version 2.0)

Such options are usable:

  • via CLI, e.g. --aspnet-core-version 2.0 or --additionalProperties aspnet-core-version=2.0
  • via generator web service / programmatically as additionalProperties, e.g.:
{
  "lang": "aspnetcore",
  "specURL": "https://petstore3.swagger.io/api/v3/openapi.json",
  "type": "SERVER",
  "codegenVersion": "V3",
  "options": {
    "additionalProperties": {
      "aspnet-core-version": "2.0",
      "interface-only": true      
    }
  }
}   
  • via generator web service / programmatically as additionalProperties, e.g.:adding them to codegenArguments member of Options, e.g:
{
  "lang": "aspnetcore",
  "specURL": "https://petstore3.swagger.io/api/v3/openapi.json",
  "type": "SERVER",
  "codegenVersion": "V3",
  "options": {
    "codegenArguments": {
      "aspnet-core-version": "2.0",
      "interface-only": true      
    }
  }
}   

other ASP.NET issues affected by this release

Swagger Codegen 2.4.6 has been released!

27 Jun 16:53
f403677
Compare
Choose a tag to compare
  • updated ASP.NET Core generator (#9529)
  • bump parser to 1.0.45 (#9530)
  • Readme Update - Security Section Added (#9477)
  • fix generate options (#9452)

Notes about aspnetcore generator updates:

supported environments

ASP.NET Core 2.0, 2.1, 2.2 (default)

significant options

--additional-properties interface-only=true : only generate interfaces for controllers
--additional-properties interface-controller=true : generate interfaces for controllers, implemented by a default controller implementation

when neither interface-only nor interface-controller are set, no interfaces are generated.

--additional-properties aspnetCoreVersion (e.g. aspnetCoreVersion 2.0)

Swagger Codegen 3.0.8 has been released!

25 Apr 09:32
2c72fa3
Compare
Choose a tag to compare

3.0.8 release of swagger-codegen with OpenAPI 3 support.

Supported V3 generators

  • akka-scala (experimental)
  • dynamic-html
  • html
  • html2
  • java
  • jaxrs-cxf-client
  • jaxrs-cxf
  • inflector
  • jaxrs-cxf-cdi
  • jaxrs-spec
  • jaxrs-jersey
  • jaxrs-di
  • jaxrs-resteasy-eap
  • jaxrs-resteasy
  • spring
  • openapi
  • openapi-yaml
  • kotlin-client
  • kotlin-server
  • nodejs (experimental)
  • php
  • swift3
  • swift4
  • typescript-angular
  • scala
  • aspnetcore (experimental)
  • csharp (experimental)
  • csharp-dotnet2 (experimental)
  • python (experimental)

Notable changes:

Swagger Codegen 2.4.5 has been released!

27 Jun 10:56
79c8537
Compare
Choose a tag to compare
  • ref #9210 - update http urls to https (#9389)
  • skip branch appveyor build for branches with PR (#9388)
  • [BUG] [CRITICAL] [PHP] Symfony server incorrect api input validation: min contstraint in max condition (#9383)
  • use openjdk docker base image for CLI (#9341)
  • ref #9132 - Handle UntypedProperty (#9336)
  • fixed out of bound exception for pattern string. (#9332)
  • add versioning section to readme (#9319)