Releases: swagger-api/swagger-codegen
Swagger Codegen 2.4.4 has been released! replaces and fixes 2.4.3
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!
Please use 3.0.7 release as it fixes swagger-api/swagger-parser/issues/1053
Please use 2.4.4 release
Please use 2.4.4 release as it fixes #1053
Swagger Codegen 3.0.5 has been released!
3.0.5 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 (new)
- php
- swift3
- swift4
- typescript-angular
- scala
- aspnetcore (experimental)
- csharp (experimental)
- csharp-dotnet2 (experimental)
- python (experimental)
Notable changes:
-
updated dep versions and enhanced logging (#9166)
-
added content type property for codegen content object. (#9125)
-
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 2.4.2 has been released!
Swagger Codegen 3.0.4 has been released!
3.0.4 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 (new)
- php
- swift3
- swift4
- typescript-angular
- scala
- aspnetcore (experimental)
- csharp (experimental)
- csharp-dotnet2 (experimental)
Notable changes:
- new nodejs generator! - (swagger-codegen-generators PR 253)
- added nodejs sample. (#8970)
- refs #8976 - spring server syntax error (regression) (#8978)
- refactor api template for spring. (swagger-codegen-generators PR 258)
- fixed spring templates. (swagger-codegen-generators PR 257)
- updated generator endpoints to support all codegen types (#8975)
- update online generator UI to latest (#9003)
- Refs #255, #254 - required post body with path parameters produces uncompilable code (swagger-codegen-generators PR 267)
- add validation extension to fix #8772 (swagger-codegen-generators PR 265)
- refs #7960 - support for relative server url. (#9047)
- Swagger Codegen Rebranding in 3.0.0 (#8991)
- Swagger Codegen Generators Rebranding in 3.0.0 (swagger-codegen-generators PR 262)
- use template dir if custom one is not used in order to fix #8964. (swagger-codegen-generators PR 261)
- added capability to use URL related to input definition. (swagger-codegen-generators PR 256)
- fixed inputURL parameter (swagger-codegen-generators PR 271)
Swagger Codegen 2.4.1 has been released!
Minor bug fix release:
- fix javascript regression related to #4973, see this comment
Swagger Codegen 3.0.3 has been released!
3.0.3 release of swagger-codegen with OpenAPI 3 support.
Supported V3 generators
- 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
- php
- swift3
- swift4
- typescript-angular
- scala
- aspnetcore (experimental)
- csharp (experimental)
- csharp-dotnet2 (experimental)
Notable changes:
- dotnet/csharp (experimental, #8903, swagger-codegen-generators PR 239)
- ref #8679 Fix multiple types in request body (#8881, swagger-codegen-generators PR 228)
- updated Java api.template to fix errors on generated code. (swagger-codegen-generators PR 244)
- ref #8358 JAXRS-Jersey Path issue (swagger-codegen-generators PR 243)
- fixed NPE on generator test classes. (swagger-codegen-generators PR 238)
- bump core and parser version (swagger-codegen-generators PR 235)
- added pattern, mixLength, maxLength from ref schema (swagger-codegen-generators PR 232)
- Revert "disable spring cloud library" (swagger-codegen-generators PR 229)
- ref swagger-codegen-generators #226 - fix openapi-yaml serialization (swagger-codegen-generators PR 227)
- fix naming of headers and cookies that are queried by specified name (swagger-codegen-generators PR 222)
- Samples update (#8925)
Swagger Codegen 2.4.0 has been released!
Long awaited 2.4.0 release!
Four new generators, and a lot of PRs with bug fixing and enhancement in core and many generators.
Please check out the list of PRs in Notable changes
below to see how generators are affected.
New Generators:
- kotlin-server (Server)
- typescript-inversify (Client)
- scala-gatling (Client)
- dart-jaguar (Client)
Notable changes:
- disabled spring tests generation. (#8950)
- fix retrofit2 play imports (#8938)
- fix rest-assured javadoc (#8937)
- update spring samples (#8934)
- update php symfony samples (#8931)
- update kotlin samples (#8924)
- Samples update and fixes (#8894)
- ref #8796 - fix html2 request and response schemas (#8889)
- fixes python tests in Travis CI (#8887)
- ref #8884 - fix openapi-yaml serialization (#8885)
- Frozenstep kotlin fixing file uploading (#8827)
- Frozenstep kotlin void response type (#8822)
- Added Windows Docker Run instruction (#8788)
- added api test files templates for springboot and spring mvc. (#8771)
- Frozenstep kotlin download file fix (#8769)
- refactor changes related to #8712 in order to solve maven build fail. (#8748)
- [PHP] add support deprecated phpdoc tag (#8735)
- [PHP] update php-symfony/services.mustache (#8730)
- [Dart] Fix Dart enums (#8426) (#8721)
- remove system property to avoid affect others generator tests. (#8716)
- fixed example fields addition (#8713)
- generator for dart jaguar (#8681)
- adapt for jenkins CI java7 (#8649)
- [Cpprest] Check for null values (#8647)
- adapt for jenkins CI (#8643)
- Resteasy sample tweaks (#8594)
- fix(security): bump superagent dependency 3.5.2 -> 3.7.0 (#8580)
- refs #8530 - fix test spec for jaxrs servers (#8538)
- Update README.md (#8536)
- [BUG] [CRITICAL] [PHP] Symfony server incorrect validation: min contstraint in max condition (#8535)
- PHP 7.2 (#8534)
- Add support for x-codegen-ignore and x-import-mapping extensions (#8478)
- Fix for $ref as last element in allOf error (#8476)
- [C#] Support newlines in comments in various sections (#8472)
- added logic for newlines in comments for operation descriptions only (#8463)
- add output file options for swagger codegen (#8454)
- Fix for Issue #8339 (#8453)
- refs #3261 - fixes maven plugin example jersey version (#8448)
- refs #8359 - Fixed setting of custom header (#8446)
- Revert "Fix getter methods for Java model with additionalProperties" (#8440)
- added value to required property on test data. (#8434)
- added mixIn configuration on mapper to fix extra schema on swagger-yaml (#8427)
- add timeout to circleci (#8422)
- setup sbt in circle config (#8420)
- Make spring-mvc jersey tests wait that jetty is closed before terminating (#8418)
- [PYTHON] Issue 8075 - additionalProperties support (#8414)
- feat: support for python3.7 (async is a keyword) (#8401)
- Fix issue #5780 (#8317)
- Update README.md (#8316)
- Update README.md (#8312)
- fixed NPE on
getHasQueryParams
method. (#8297) - Fix getHasQueryParams to take authMethods into account (#8292)
- added pattern, mixLength, maxLength from "non object" model to a code… (#8277)
- Make usage of -D more explicit in example (#8276)
- Docker: use correct MAVEN_CONFIG (#8257)
- Fix getter methods for Java model with additionalProperties (#8245)
- updated swagger core and swagger parser versions, also added tests to… (#8225)
- fixed index out of bound exception for inline empty example field. (#8220)
- [JAVA] Add import to models for jaxrs-reasteasy-eap (#8185)
- [typescript-angular] add providedIn support (#8183)
- Comment out scalaz test due to sbt error (#8172)
- Strict Typescript output of discriminator (PHNX-805) (#1) (#8157)
- update typescript-node
package-lock.json
(#8156) - [typescript-angular] Added support for Angular v6 (by adding support for RxJS v6) (#8155)
- Fix for uncompilable java client if no model definitions is specified … (#8123)
- [rust-server] Enhance middleware support (+ perf fix) (#8114)
- typescript-angular: Ng43 with interfaces petstore scripts (#8102)
- [Clojure] Default */- MIME to application/json (#8096)
- Fix context import order (#8094)
- Add option modelPropertyNaming to javascript generator (#8086)
- Camelize Kotlin model names and filenames (#8085)
- Add support for typealiases in Kotlin client (#8084)
- Remove extra spaces breaking line-continuation (#8070)
- Adapt Python README template, fixes #7269 (#8069)
- Fix read on closed body. (#8057)
- [codegen][java]Issue 8055: create javadoc and source jar from gradle build (#8056)
- [JAVA][Rest-assured] Version rest-assured has been updated to 3.1.0 (#8052)
- [typescript][angular] query parameter with null value should not be set (#8033)
- Allow to set values with setApiPackage(..) and setModelPackage(..) (#8013)
- Add HideGenerationTimestamp getter and setter in CodegenConfig (#8009)
- show number as strings (#8003)
- Getter and Setter for hideGenerationTimestamp (#7998)
- Added vendorExtensions.x-isPrimitive. (#7991)
- Golang Client Refactor (body and model in errors, typed optional parameters) (#7987)
- Fixing invalid syntax of commas in build.gradle of generated Java lang client (critical error) (#7985)
- [typescript-angular] AOT-compatible API client (via ng-packagr and ngc) (#7984)
- Remove TypescriptInversifyAdditionalPropertiesIntegrationTest.java to fix integration tests (#7983)
- Removed a duplicated entry in the config file (#7981)
- Issue 5542, always generate pom and readme (#7977)
- typescript-angular: added Interfaces to api exports if withInterfaces is selected (#7975)
- change parseDate in es6/APIClient (#7973)
- [rust-server] API version constant and composite version support (#7969)
- [Java] Configuration option to disable HTML escaping when using Gson (#7966)
- [Dart] Fixes TypeError in Dart 2 mode (#7959)
- Additional reserved python keywords (#7956)
- [PHP] Improve duplicated validation logic (#7954)
- [PHP] Fix string length validation (#7953)
- Fix the missing tag on FakeApi (#7952)
- Update ObjcClientCodegen.java (#7950)
- [Swift 3] removing trailing spaces (#7943)
- Update README.md (#7940)
- [qt5cpp] Fix crash when API return a map container (#7933)
- fix #7906 [cpprest] add parameterToString for number type with unspecified format (#7929)
- [Swift4] accept empty content with default client (#7921)
- [kotlin] Add json annotation to each enum value. (#7908)
- [kotlin] Add OkHttpClient.Builder to ApiClient. (#7907)
- [NodeJS] make serverPort configurable via CLI option (#7899)
- Misc typescript Angular code generation improvements (#7898)
- [rust-server] asynchronous support via hyper v0.11 (#7896)
- Modify "postProcessOperations" for "jaxrs-cxf-client" (#7886)
- Add typescript-inversify code generator (#7885)
- Fix inputSpec for multi module builds (#7883)
- removed null fields (#7882)
- Updated version number (#7880)
- Update to newer version of Ruby in Travis config file (#7879)
- Update README.md (#7877)
- [aspnetcore] Update Dockerfile (#7873)
- [JAVA] 4709: codegen with parcelableMode fails to build if using arra… (#7867)
- added config to yaml mapper to minimize long text. (#7864)
- Fix typescript-node generation of array type models (#7861)
- Fix strict class initialisation in auth classes (#7860)
- Make optional properties in models optional parameters (#7859)
- [C++] Add linux as a reserve keyword (#7844)
- [qt5cpp] delete callback data allocated before signal emission (#7840)
- Candidature to integrate Qt technical commitee (#7834)
- [TypeScript][Fetch] Add interfaces option (#7831)
- [Swift 4] Fix APIHelper to accept array parameter (#7821)
- [cpprest] Add support for nested vectors (#7820)
- html: fix typo in class name (#7818)
- [C++][qt] Fix warning message (#7815)
- Factorize addOption/addSwitch method (#7814)
- [qt5cpp] Remove qt5 pro.user file (#7813)
- Fix nodejs-server path issue in windows platform (#7808)
- [Jaxrs-cxf] Add bean-level cascaded beanvalidation for pojos (@Valid) fix #4738 (#7807)
- Mark
not required
swagger properties as optional typescript properties (#7806) - Adding qt project generation fix #7784 (#7799)
- Remove unused dep when model package is empty (#7793)
- Qt5cpp plug memleaks part2 (#7792)
- [Java][google-api-client] Fix bug with empty POST request not sending content-type (#7787)
- [PHP] Fix code example from README. Variable name was missing when using Basic auth. (#7777)
- Improve JMeter Template : Fix Issue 7773 (#7774)
- Update README.md (#7772)
- Check date value before calling to_iso8601 (#7769)
- [JAVA] Correct consumes/produces attributes for Spring Controllers (#7760)
- [Java] fix connection leak on retrofit OAuth token renewal (#7750)
- Fix python / tornado body handling (#7738)
- [Elm] Add support for array schemas (#7729)
- [elm] missing '->' in Main elm template (#7728)
- Fix for stripping prefix on single enums (#7726)
- [PHP] Improve: Make validation strict (#7724)
- [PHP] Non required enum property (#7723)
- [PHP] Improve: update sample tests automatically (#7717)
- Feature/javaPlayWithAsynchronousControllers (#7705)
- [Rails5] make version of the generated Rails stub server to strict Ra… (#7700)
- Qt5cpp plug memleaks (#7695)
- Remove tab (#7692)
- Added FormAPI to the list of companies that are using swagger-codegen (#7687)
- [PHP] Improve validation on empty arrays (#7686)
- Fix performance linting problem with maps in java ApiClient template (#7685)
- Fix inconsistency between model name and file name in python client (#7684)
- [PHP] Run unit tests on 'tests' directory (#7675)
- [PHP] Cleanup test (#7673)
- [PHP] Add path & file separator (/) to return the correct path when deserializing a file (#7671)
- [Java][retrofit2] Fix for Issue #7446 (#7659)
- [Ada] by defining x-is-model-type when property is local to the YML file (#7655)
- [Swift] Add public initializ...
Swagger Codegen 3.0.2 has been released!
3.0.2 release of swagger-codegen with OpenAPI 3 support.
Supported V3 generators
- 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 (updated)
- openapi
- openapi-yaml
- kotlin-client
- kotlin-server
- php
- swift3
- swift4
- typescript-angular
- scala
Notable features
- swagger-generator-v3 docker image supporting custom generators (#8820)
Notable changes:
-
ref #8820 - add external classpath to docker image jetty webapp (#8821)
-
bump codegen v2 to 2.4.0-SNAPSHOT (#8801)
-
fix jaxrs-resteasy template dir (swagger-codegen-generators PR 216)
-
refs #8805 - fix swift template dir (swagger-codegen-generators PR 214)
-
Fixed small typo (swagger-codegen-generators PR 212)
-
added cookie support for scala akka http server generator (swagger-codegen-generators PR 210)
-
refs #8784 - fix meta generator (swagger-codegen-generators PR 209)