Skip to content

Releases: swagger-api/swagger-codegen

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)

Swagger Codegen 3.0.7 has been released! replaces and fixes 3.0.6

26 Mar 15:09
2e117a7
Compare
Choose a tag to compare

3.0.7 release of swagger-codegen with OpenAPI 3 support.
Replaces and fixes 3.0.6, fixing swagger-api/swagger-parser/issues/1053

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.4 has been released! replaces and fixes 2.4.3

26 Mar 13:47
a597800
Compare
Choose a tag to compare

replaces and fixes 2.4.3, fixing swagger-api/swagger-parser/issues/1053

  • [python-flask] convert pattern to perl convention instead throwing an error. (#9251)
  • fix python line length E501 (#9244)
  • update snakeyaml version (#9243)
  • [go] suffix enum name with classname to avoid conflict (#9234)
  • [Python] Update Minimum Required Versions in setup.mustache (#9211)
  • [haskell-http-client] Bump to lts 13.8 (#9209)
  • [JAVA] Generate and use variable name for setting discriminator and fix #9205 (#9207)
  • fix config CodegenType (#9198)

Please use 3.0.7 release!

25 Mar 14:52
4ca4403
Compare
Choose a tag to compare

Please use 2.4.4 release

25 Mar 11:44
2cbdb61
Compare
Choose a tag to compare