We're happy to announce the release of v7.0.0 - a major release with lots of enhancements and bug fixes including breaking changes without fallback. More than 500 PRs contributed by the awesome OpenAPI Generator community have been included in this release.
For a list of breaking changes, please refer to the following:
New Generators:
- Add Zapier generator #15997
- Sttp4 client generator #1583
- [swift] New 'swift-combine' client generator for swift #15823
- [kotlin] New 'jvm-spring-webclient' library #15568
General
- Support library option via additionalProperties #16242
- [Default] update isAdditionalPropertiesTrue tag to cover more types #16227
- Add isJson, isXml to consumes, produces #16085
- Use openjdk official docker image in openapi-generator-online #15964
- fix security features listed in documentation - remove openID Connect included by default #15773
- [openapi-normalizer] Support normalizing null types using OAS 3.1 syntax #15698
- Fix extensions handling for allOf with single schema #15632
- Update to JDK11.
Breaking change (without fallback)
#15553 - [openapi-normalizer] enable some rules by default
Breaking change (with fallback)
Enhancement: General 15501 - Use enum type for discriminator #13846
asciidoc
- [asciidoc] Set toc level to 4 #15481
C
- support 32bit in postdata #16238
C#
- [csharp] Fixed model property data type #16315
- [csharp] Update RestSharp to 110.2.0 #16122
- [csharp] Enable setting of RemoteCertificateValidationCallback through IReadableConfiguration #15979
- [csharp][generichost] Added value converter class #15970
- Rename csharp-netcore to csharp
Breaking change (without fallback)
#15903 - [csharp-netcore][generichose] Use correct name for enum while serializing #15742
- [csharp-netore][generichost] Renamed ToModel to AsModel.
Breaking change (without fallback)
#15662 - [aspnetcore] Adds {{>partial_header}} to missing mustache files #15616
- [csharp] Fix property names.
Breaking change (without fallback)
#13681
C++
Crystal
- Add mapping features to crystal client generator #16253
Dart
Elixir
- Elixir: Switch Poison to Jason #16061
Eiffel
- [Eiffel] fix Eiffel schema lookup, clean up outdated samples #15901
Grovvy
- [groovy] support enum generation in groovy client #15619
Go
- [go] fix issue that tempfile is not deleted #16303
- [Go] Update go-echo-server generator to respect the --git-host argument #15720
- [Go] Update API naming to follow Golang standard pkg (1 line change).
Breaking change (with fallback)
#15331
Haskell
- [haskell-servant][haskell-yesod] Fix specialCharReplacements #16289
Java
- [JAVA] [WebClient] Handle list of String special case in WebClient generator #16326
- [spring] fix void return type for useResponseEntity: false #16230
- Support for multipart/form-data; charset="utf-8" in Java GSON Generator #16211
- Fix import for spring boot 3 #15949
- Fix cli options use tags and api name suffix.
Breaking change (without fallback)
#15936 - spring: fix spring pageable used without any config.
Breaking change (without fallback)
#15113 - [java] remove fullJavaUtil option.
Breaking change (without fallback)
#15033 - Fix additionalProperties in spring generator.
Breaking change (without fallback)
#11572
JavaScript
- Use substring instead of substr in JavaScript and TypeScript generators #15937
Julia
- [Julia] correct handling of POST data encodings #16149
Kotlin
- [kotlin-client][multiplatform] Added support enum query parameter #16327
- [bug][kotlin] sanitize model names according to convention.
Breaking change (with fallback)
#16267 - [kotlin-server] add support for jakarta ee namespace #15593
- [Ktor] Update generator to latest Ktor version.
Breaking change (without fallback)
#14296
PHP
- PHP - Permit to customize more composer.json parts #16012
- [PHP-Symfony] Fix Symfony warning on OpenAPIServerBundle #15960
Postman
- [POSTMAN] Mark request header as disabled #16028
- [Postman Collections] Keep original header name #1590
Python
- Rename python-nextgen to python.
Breaking change (without fallback)
#15504 - Decommission python client generator #15486
- Decommission python-legacy, python-prior client generators #15475
- [python-fastapi] Added a base class for the actual implementation.
Breaking change (without fallback)
#14470
R
Rust
- Rust validation handling #15288
Scala
- [Scala] scala-akka-http-server support pekko-http using useApachePekko flag #16255
Swift
- [swift] to support application/octet-stream for file upload #16299
TypeScript
Xojo
- [xojo] fix use of isBasic #15761