Releases: swagger-api/swagger-codegen
Swagger Codegen 3.0.12 has been released!
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:
-
refs swagger-api/swagger-codegen-generators#493 - update resteasy samples (#9761)
-
refs swagger-api/swagger-codegen-generators#490 - update samples (#9757)
-
refs swagger-api/swagger-codegen-generators#492 - update resteasy samples (#9756)
-
update jackson (#9741)
-
Unused samples removing (#9738)
-
fixed base path exception on URL parsing (#9736)
-
bump parser to next snapshot (#9721)
-
remove AppVeyor status from 3.0.0 README (#9715)
-
populate data map authMethods also for generateApi (#9713)
-
Issue 9203 all samples generated (#9697)
-
bump generator snapshot in pom.xml.shippable (#9674)
-
refs #7866 - revert #461 (swagger-codegen-generators PR 497)
-
refs #495 - fix NPE (swagger-codegen-generators PR 496)
-
add missing python reserved words (swagger-codegen-generators PR 494)
-
fixes resteasy dateLibrary dependent gradle (swagger-codegen-generators PR 493)
-
Fix dateLibrary=java8 handling in JacksonConfig.mustache #9753 (swagger-codegen-generators PR 491)
-
refs #8833 - fix spring templates, add defaultInterfaces, springboot v2 (swagger-codegen-generators PR 490)
-
issues 463 (swagger-codegen-generators PR 488)
-
use classname instead schema name in interface model (swagger-codegen-generators PR 486)
-
validate ref schema as objects. (swagger-codegen-generators PR 485)
-
No used templates removing (swagger-codegen-generators PR 484)
-
update jackson (swagger-codegen-generators PR 483)
-
read base path and create var to be used on templates for dotnet gene… (swagger-codegen-generators PR 482)
-
set default server url for output code. (swagger-codegen-generators PR 481)
-
Open Feign Support (swagger-codegen-generators PR 480)
-
Kotlin-client template improvements. Less boilerplate code will be ge… (swagger-codegen-generators PR 479)
-
add micronaut template (swagger-codegen-generators PR 476)
-
Fixed ngPackagr and Angular 8 support (swagger-codegen-generators PR 473)
-
Issue 470 - swift 4 multiple enum error (swagger-codegen-generators PR 471)
-
bump parser to next snapshot and check a null param name. (swagger-codegen-generators PR 469)
-
Fix issue 467: Add = nil to the init template in swift 4 (swagger-codegen-generators PR 468)
-
fixes aspnetcore controller when no security defined in spec (swagger-codegen-generators PR 465)
-
fixed incorrect model name prefix and suffix issue (swagger-codegen-generators PR 461)
-
fixed circular dependency issue on python generated code (swagger-codegen-generators PR 460)
-
refs #9203 - Remove duplicated
isis
boolean property getter and other java fixes (swagger-codegen-generators PR 458) -
fix for Bug generating Boolean type property (swagger-codegen-generators PR 456)
-
avoid create composed models for non object schemas (swagger-codegen-generators PR 453)
-
[JavaSpring] Updated Spring Boot to v1.5.22 and SpringFox to v2.9.2. (swagger-codegen-generators PR 452)
-
[javascript] Adds JavaScript client generator (swagger-codegen-generators PR 451)
Swagger Codegen 2.4.9 has been released!
- 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!
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:
-
refs swagger-api/swagger-codegen-generators#438 - fix docs and test options processing (#9657)
-
Samples update (#9647)
-
update mockito version (#9609)
-
Spring samples update (#9607)
-
update jackson version in project and java templates (#9601, swagger-codegen-generators PR 435)
-
added option to disable examples. (#9600)
-
refs #9612, refs #8855 - fix BigDecimal typeMapping in typescript and python (swagger-codegen-generators PR 446)
-
avoid custom templates be replaced by default templates on python (swagger-codegen-generators PR 445)
-
Composed items issue (swagger-codegen-generators PR 443)
-
added bearer authentication description on documentation templates an… (swagger-codegen-generators PR 439)
-
fixed generated example string (swagger-codegen-generators PR 436)
-
checks disable examples option (swagger-codegen-generators PR 434)
-
Changes to use discriminator properties if specified in client code generation (swagger-codegen-generators PR 433)
-
add only schemas with existing ref to processed models collection (swagger-codegen-generators PR 432)
-
Fix recursion failure when generating examples (swagger-codegen-generators PR 431)
-
fix duplicate key in generated json when JsonTypeInfo is used (swagger-codegen-generators PR 427)
-
Fix python model template to work with inheritance (swagger-codegen-generators PR 425)
-
fix Spring response returnType for MapSchema (swagger-codegen-generators PR 447)
Swagger Codegen 2.4.8 has been released!
- 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!
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:
-
replaced spaces with underscore in operationIds in order to solve issue. (swagger-codegen-generators PR 419)
-
shown example for properties in html2 output (swagger-codegen-generators PR 418)
-
refs #9548 - fix NPE for composed models (swagger-codegen-generators PR 415)
-
resolved ref in json schema view code to fix issue (swagger-codegen-generators PR 414)
Swagger Codegen 2.4.7 has been released!
Swagger Codegen 3.0.9 has been released!
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:
-
python-flask server generator (swagger-codegen-generators PR 387)
-
added python flask sample (#9456)
-
updated aspnetcore generator:
- aspnet core interfaces samples (#9528, #9510)
- 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)
-
Endrec 3.0.0 (#9485)
-
Readme Update 3.0.0 - Security Section Added (#9478)
-
add csharp client sample (#9446)
-
added bearer checks to be used in templates. (#9423)
-
bump parser v1 to 1.0.45 (#9526)
-
bump parser to 2.0.13 (#9525)
-
add xml deserializer to support xml content types request (swagger-codegen-generators PR 399)
-
Lion7 fix binary type alternative (swagger-codegen-generators PR 392)
-
Loicsiret patch 1 (swagger-codegen-generators PR 391)
-
Example generator (swagger-codegen-generators PR 390)
-
Replace dataType with baseType+containerType to fix compilation error in AkkaHttpServerCodegen (swagger-codegen-generators PR 386)
-
Add petstore.yaml and test its generation in AkkaHttpServerCodegenTest (swagger-codegen-generators PR 385)
-
fix csharp client (swagger-codegen-generators PR 383)
-
Remove duplicate "is" from Boolean getter (swagger-codegen-generators PR 381)
-
Fix CodegenModel.allVars to include vars of composed and parent models (swagger-codegen-generators PR 377)
-
fixed incorrect path for imports (swagger-codegen-generators PR 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
}
}
}
other ASP.NET issues affected by this release
Swagger Codegen 2.4.6 has been released!
- 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!
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:
-
fix handling of boolean additionalProperties (#9402, swagger-codegen-generators PR 368)
-
Add hasModel property to support file bundle (#9345)
-
use openjdk docker base image for CLI V3 (#9342)
-
fixes imports when spec contains no schema (#9337, swagger-codegen-generators PR 352)
-
fixed restful methods names in order to fix missing parameters issue. (#9327)
-
add versioning section to readme v3 (#9323)
-
bump inflector version (#9312)
-
ref /issues/9210 - update http urls to https (swagger-codegen-generators PR 365)
-
resolves request body example and adds to htmlDocs template (swagger-codegen-generators PR 357)
-
Fix generated python api imports to include packageName. (swagger-codegen-generators PR 355)
-
fixed cast exception in templates. (swagger-codegen-generators PR 343)
Swagger Codegen 2.4.5 has been released!
- 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)