v6.5.0
v6.5.0 release comes with many bug fixes and enhancements such as several new rules in OpenAPI Normalizer
There's one breaking change with fallback: [Java][Spring] option whether to generate required args constructor #14941
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
- Add isOverridden, update Java pojo with setter for parent properties #15051
- Add new openapi-normalizer rule REFACTOR_ALLOF_WITH_PROPERTIES_ONLY #15039
- Better allOf handling in fromProperty #15035
- Do not add schema / class name mapping where custom mapping exists #14984
- [OpenAPI Normalizer] update SIMPLIFY_ONEOF_ANYOF to convert enum of null to nullable #14898
- Add new openapi-normalizer rule: ADD_UNSIGNED_TO_INTEGER_WITH_INVALID_MAX_VALUE #14891
- Better support of inline allOf/anyOf/oneOf schemas #14887
- [openapi-normalizer] add a new rule to set tags for all operations #14794
- Add rule to simplify oneOf/anyOf #14777
- Add rule to simplify boolean enum #14764
- [openapi-generator-online] Revert spring boot back to 2.5.14 #14755
C#
- [csharp-netcore] Better handling of form parameters #15040
- [csharp-netcore] Moved null checks from constructor to JsonConverter #14980
- Decommission csharp-dotnet2 client generator #14911
- [csharp-netcore] add options dateFormat, dateTimeFormat to customize the format #14894
- [csharp-netcore] Add unsigned integer/long support #14885
- [v2] (RFC) Csharp netcore generator supports UnityWebRequest library #14870
C++
- [C++][Pistache] Add some missing {{declspec}} on classes and functions #14808
- [Bug][C++-cpprest] Encode request parameters to enable whitespace characters #14797
Erlang
- [erlang-client] fix URL paths #14988
- [erlang-client] Fix url path generation being passed to hackney_url #14821
Go
- [GO] [REQ] Enable bearer security schema for Go client #14957
Java
- [JAVA][NATIVE] Fix NPE for form values request builder #15036
- Added Micronaut configuration points #15005
- [java] fix optional array property's default value #14961
- [spring] fix default value for nullable containers #14959
JavaScript
- [JS] Update optional parameters in jsdoc #15032
K6
- [K6] Enhancement: Make operationId accessible inside requests #14787
Kotlin
- [Kotlin-Spring] Remove wildcard imports from mustache templates #14899
PHP
Python
- [python-nextgen] use
__fields_set__
to determine if the field is needed in to_dict #15086
Rust
- [RUST] Upgrade reqwest-middleware #14819
- [Bug][Rust] fix: removes replacement which makes x-tag-name incompatible with spec #14746
- [rust-server] Fix clippy warnings #13907
Swift
- [swift5] fix modelNamePrefix and -suffix for reserved types #14768
- [swift5][client] improve headers order #14636