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