v5.3.1 is the last stable release in 2021. It comes many enhancements/bug fixes and 2 new generators/libraries:
- csharp-netcore-functions: [C#] new Azure functions generator
- volley (kotlin): Kotlin client: add volley library support.
Thanks for all the contributions from the OpenAPI Generator community. We would like to take this opportunity to wish everyone Happy Holdiays!
For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.
General
- Fixes paramName and dataType for request body anyType parameters #11075
- Compare HTTP auth security schema names case-insensitive #10989
- Better handling of NPE in parser when referencing invalid schema #10882
Bash
- [Bash] Support post form data #10795
C
- [C][Client] Support a custom data type (IntOrString) #11074
- [C][Client] Use cpack to build deb package #10935
C#
- [C#] new Azure functions generator #11020
- [C#] Update C# dependencies to newer version #10761
- [csharp-netcore] Support Net 6.0 #10634
C++
- [cpp-pistache-server]: Fix build with pistache #10829
- [cpprestsdk] CMake build system improvements #10660
- [Qt][C++] Oauth2 Authorization Code Flow and Implicit Flow Support #10183
Crystal
- [crystal][client] Update crystal client gitignore.mustache with shards related files #10698
Dart
- [dart][dio][built_value] Fix missing serializer factory builders for additionalProperties #11011
- [dart-dio-next] Removes dioLibrary option #10931
Go
- [GO] dont canonize headers #10779
Groovy
- Fix build-info-extractor-gradle in groovy build.gradle #10760
Kotlin
- [kotlin][client] update request exceptions #11065
- [Kotlin] Fully qualified "Any" for enums in encode and decode function #10985
- [Kotlin][Multiplatform] Support custom Ktor HTTP client configuration #10968
- [kotlin][spring] Add validation to headers #10703
Java
- [java][okhttp-gson-nextgen] Better null handling in oneOf, anyOf model #11056
- Add operation level servers support for java okhttp-gson client #10925
- [Java][okhttp-gson] Support text/plain body #10885
- Fix library generation compatibility with Gradle 7.2 #10716
- [java][microprofile] update dependency to newer version #10714
- Allow Spring generated code to use new OAS 3 annotations #9775
K6
- [K6 Generator] various enhancements (request body example data extraction, support for generating scenario tests and load tests out of the box, and much more) #11106
Php
- [php-slim4] Bump required PHP version to 7.4 #11039
- [php-slim4] Switch to Packaged Body Parsing Middleware #9562
PowerShell
- [powershell] add file upload support #10735
Protobuf
- [Protobuf-Schema] Add numbered field number list switch #10893
- [Protobuf-Schema] Add enum as model support #10868
Python
- [Python] fix model.mustache import #10988
- [Python] Add option to select/detect content-type #10978
Rust
- [rust][client] fix breaking regression introduced by #10432
- [rust] Update to modern hyper and futures crates #9919
Scala
- [scala-akka-http-server] Fix array optional parameter invalid default value #10676
Swift
- [swift5][client] allow request cancellation and authentication flow to work together #11019
- [swift5] Refactor encodeToJSON #10961
TypeScript
- Fixed http errors deserialization #10940
- Support Angular 13 #10877
- Typescript saga immutablejs enhancements and small fixes #10444