Skip to content

Releases: swagger-api/swagger-codegen-generators

Swagger Codegen Generators v1.0.13

16 Oct 16:00
bdbca13
Compare
Choose a tag to compare

1.0.13 release of swagger-codegen-generators with OpenAPI 3 support.

See also https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.13

Regression Fix

  • fix spring NPE with dateLibrary=java8 (#504)

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)

Swagger Codegen Generators v1.0.12

14 Oct 18:17
8eeb1c8
Compare
Choose a tag to compare

1.0.12 release of swagger-codegen-generators with OpenAPI 3 support.

See also https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.12

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:

  • refs swagger-api/swagger-codegen#7866 - revert #461 (#497)
  • refs #495 - fix NPE (#496)
  • add missing python reserved words (#494)
  • fixes resteasy dateLibrary dependent gradle (#493)
  • fixes resteasy dateLibrary dependent code (#492)
  • Fix dateLibrary=java8 handling in JacksonConfig.mustache #9753 (#491)
  • refs swagger-api/swagger-codegen#8833 - fix spring templates, add defaultInterfaces, springboot v2 (#490)
  • issues 463 (#488)
  • use classname instead schema name in interface model (#486)
  • validate ref schema as objects. (#485)
  • No used templates removing (#484)
  • update jackson (#483)
  • read base path and create var to be used on templates for dotnet gene… (#482)
  • set default server url for output code. (#481)
  • Open Feign Support (#480)
  • Kotlin-client template improvements. Less boilerplate code will be ge… (#479)
  • add micronaut template (#476)
  • Fixed ngPackagr and Angular 8 support (#473)
  • Issue 470 - swift 4 multiple enum error (#471)
  • bump parser to next snapshot and check a null param name. (#469)
  • Fix issue 467: Add = nil to the init template in swift 4 (#468)
  • fixes aspnetcore controller when no security defined in spec (#465)
  • fixed incorrect model name prefix and suffix issue (#461)
  • fixed circular dependency issue on python generated code (#460)
  • refs swagger-api/swagger-codegen#9203 - Remove duplicated isis boolean property getter and other java fixes (#458)
  • fix for Bug generating Boolean type property (#456)
  • avoid create composed models for non object schemas (#453)
  • [JavaSpring] Updated Spring Boot to v1.5.22 and SpringFox to v2.9.2. (#452)
  • [javascript] Adds JavaScript client generator (#451)

Swagger Codegen Generators v1.0.11

23 Aug 15:52
03e074d
Compare
Choose a tag to compare

1.0.11 release of swagger-codegen-generators with OpenAPI 3 support.

See also https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.11

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

  • refs swagger-api/swagger-codegen#9612, refs swagger-api/swagger-codegen#8855 - fix BigDecimal typeMapping in typescript and python (#446)
  • avoid custom templates be replaced by default templates on python and… (#445)
  • Composed items issue (#443)
  • added bearer authentication description on documentation templates an… (#439)
  • fixed generated example string (#436)
  • update jackson version in java templates (#435)
  • checks disable examples option (#434)
  • Changes to use discriminator properties if specified in client code generation (#433)
  • add only schemas with existing ref to processed models collection (#432)
  • Fix recursion failure when generating examples (#431)
  • fix duplicate key in generated json when JsonTypeInfo is used (#427)
  • Fix python model template to work with inheritance (#425)
  • fix Spring response returnType for MapSchema (#447)

Swagger Codegen Generators v1.0.10

11 Jul 13:04
04ad1ce
Compare
Choose a tag to compare

1.0.10 release of swagger-codegen-generators with OpenAPI 3 support.

See also https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.10

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

  • replaced spaces with underscore in operationIds in order to solve issue. (#419)
  • shown example for properties in html2 output (#418)
  • refs swagger-api/swagger-codegen#9548 - fix NPE for composed models (#415)
  • resolved ref in json schema view code to fix issue (#414)

Swagger Codegen Generators v1.0.9

28 Jun 13:34
addfaba
Compare
Choose a tag to compare

1.0.9 release of swagger-codegen-generators with OpenAPI 3 support.

See also https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.9

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      
    }
  }
}   

Swagger Codegen Generators v1.0.8

25 Apr 09:32
55c0cbc
Compare
Choose a tag to compare

1.0.8 release of swagger-codegen-generators with OpenAPI 3 support.

See also https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.8

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

  • fix handling of boolean additionalProperties (#368)
  • ref swagger-api/swagger-codegen/issues/9210 - update http urls to https (#365)
  • resolves request body example and adds to htmlDocs template (#357)
  • Fix generated python api imports to include packageName. (#355)
  • fixes imports when spec contains no schema (#352)
  • fixed cast exception in templates. (#343)

Swagger Codegen Generators v1.0.7, replaces and fixes 1.0.6

26 Mar 15:09
b5691aa
Compare
Choose a tag to compare

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

See also https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.7

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

  • fixed NPE on getRequired boolean value (#333)
  • Mark form parameters as required when body is required (#331)
  • fixed NPE on adding content type extension (#330)
  • allow request body with non schema (#328)
  • [JAVA] inherited objects are not used as parameters in operations - #321 (#324)
  • uncomment codegen content extension call statement (#323)
  • [Htmldocs] add request body description and examples for models' property (#320)
  • Fixed issue with retrofit2 generator fail (#318)
  • [html2] fixed body parameter description and response schema missing. (#316)

Please use 1.0.7 release!

25 Mar 14:52
73c84d7
Compare
Choose a tag to compare

Swagger Codegen Generators v1.0.5

18 Feb 17:16
29638dc
Compare
Choose a tag to compare

1.0.5 release of swagger-codegen-generators with OpenAPI 3 support.

See also https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.5

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 (new)
  • php
  • swift3
  • swift4
  • typescript-angular
  • scala
  • aspnetcore (experimental)
  • csharp (experimental)
  • csharp-dotnet2 (experimental)
  • python (experimental)

Notable changes

Swagger Codegen Generators v1.0.4

15 Jan 15:40
04cc1c9
Compare
Choose a tag to compare

1.0.4 release of swagger-codegen-generators with OpenAPI 3 support.

See also https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.4

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 (new)
  • php
  • swift3
  • swift4
  • typescript-angular
  • scala
  • aspnetcore (experimental)
  • csharp (experimental)
  • csharp-dotnet2 (experimental)

Notable changes

  • new nodejs generator! - (#253)
  • refactor api template for spring. (#258)
  • fixed spring templates. (#257)
  • Refs #255, #254 - required post body with path parameters produces uncompilable code (#267)
  • add validation extension to fix codegen #8772 (#265)
  • Swagger Codegen Generators Rebranding in 3.0.0 (#262)
  • use template dir if custom one is not used in order to fix codegen #8964. (#261)
  • added capability to use URL related to input definition. (#256)
  • fixed inputURL parameter (#271 )