Releases: swagger-api/swagger-codegen-generators
Swagger Codegen Generators v1.0.13
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
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
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
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
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
-
python-flask server generator (swagger-codegen-generators PR 387)
-
updated aspnetcore generator:
- fixes NPE in aspcore filter (swagger-codegen-generators PR 402)
- Asp interface controllers (swagger-codegen-generators PR 400)
- fix aspnetcore version in dockerfile (swagger-codegen-generators PR 398)
- Aspnet core 2 1 (swagger-codegen-generators PR 397)
-
bump parser to 2.0.13 (#401)
-
add xml desarielizer to support xml content types request (#399)
-
Lion7 fix binary type alternative (#392)
-
Loicsiret patch 1 (#391)
-
Example generator (#390)
-
Readme Update Master - Security Section Added (#388)
-
Replace dataType with baseType+containerType to fix compilation error in AkkaHttpServerCodegen (#386)
-
Add petstore.yaml and test its generation in AkkaHttpServerCodegenTest (#385)
-
fix csharp client (#383)
-
Remove duplicate "is" from Boolean getter (#381)
-
Fix CodegenModel.allVars to include vars of composed and parent models (#377)
-
fixed incorrect path for imports (#372)
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 ofOptions
, 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
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
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!
Please use 1.0.7 release as it fixes swagger-api/swagger-parser/issues/1053
Swagger Codegen Generators v1.0.5
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
- Generator tweaks (swagger-codegen-generators PR 308)
- added dependencies required to run java jaxrs cxf projects. (swagger-codegen-generators PR 307)
- update dep versions and logging, update java README broken in commit #2243380 (swagger-codegen-generators PR 305)
- Removed duplicated code accidentially introduced in commit 61275df (swagger-codegen-generators PR 300)
- Issue 8679 (swagger-codegen-generators PR 299)
- When adding CodegenParameter to multiple lists, ensure it is copied f… (swagger-codegen-generators PR 298)
- fixed discriminator on templates. (swagger-codegen-generators PR 293)
- Python generator (swagger-codegen-generators PR 292)
- fixed $ref property reading issue. (swagger-codegen-generators PR 285)
- ported changes from codegen issue 5643. (swagger-codegen-generators PR 284)
- Issue 8722 (swagger-codegen-generators PR 283)
- moved curly brace in right place. (swagger-codegen-generators PR 281)
- [typescript-angular] Update default Angular version from 4.3 to 6.0 (swagger-codegen-generators PR 280)
Swagger Codegen Generators v1.0.4
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 )