v6.3.0 is a minor release, which contains breaking changes with fallback. As always we appreciate the contributions from the community.
We've added 4 new generators:
- Added Julia client and server generators #14520
- Add a new Python client generator - python-nextgen #14157
- Add a new jetbrains http client generator #14477
- Add Spring 6 HTTP interfaces #14485
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 OpenAPI Normalizer #14172
- Add a rule to keep only the first tag Enhancement: General OpenAPI Normalizer #14465
- Add isEnumRef, isEnumOrRef to CodegenProperty #13880
- Update project dependencies - root, openapi-generator #13881
- Use Gradle 7.6 to build Gradle plugin #13860
- Nullable subschemas #13850
- Cleanup outputDir before openApiGenerate (Gradle plugin) #13659
C
- [C][Client] Allow cJSON_IsNull() for a string if it is not mandatory #14332
- [C][Client] Always send integer or boolean query parameters to the API server #14019
C#
- [csharp-netcore] Added isNew property to CodegenProperty #14412
- [csharp-netcore] Removed net5, added net7 #14003
C++
- [cpp-qt-client] Fix warnings #14056
Crystal
- [Crystal] Skip primitive types from ModelImportMap #14436
Dart
- [dart-dio] Fix non legacy discriminator behavior #14291
Go
- [Go] Adds a sha256 configuration option to hs2019 #14467
- [Go] Client Models using AllOf, OneOf, or AnyOf Correctly Include time and os imports #14459
- [Go] [Client] Don't Explode Query Params #14447
Haskell
- [haskell][server] Include response headers in the API type #13565
Java
- [java][native] Fix urlQuery string method in oneOf #14488
- [Java][native][apache-httpclient] Update toUrlQueryString to support form style for object #14478
- [Java][Spring] fix ParameterObject import for Spring Boot 3 #14454
- [java][microprofile] implement useRuntimeException #14414
- [Java][Spring] Fix #14398 springboot 3 schema required #14402
- Add deepObject query string support in Java native client #14378
- [Micronaut] Improving micronaut-model and micronaut-client generation #14065
JavaScript
- [JavaScript] fix boolean in oneOf, add tests #14380
Kotlin
- [kotlin][client] add info if endpoints requires authentication or not #14445
- [KOTLIN] feat: adds maven-publish to 'kotlin' client generator #14344
PHP
- [PHP] \GuzzleHttp\json_encode is deprecated, use \GuzzleHttp\Utils::jsonEncode instead #14323
- [PHP] better PHP symfony test #14117
- [#13998][Bug][PHP] Move isNullable section to the top of the setter function in templates #14005
Python
- [python] Fixes Response TypeError #14299
- Add a new Python client generator - python-nextgen #14157
- [python] Fixes Configuration w/ access_token at initialization #14153
- [python] fixes addProps sometimes breaks #14102
- [python] exposes deserialized bodies for non-2XX responses #14095
- [python] Issue 13997 fix pass in model instances to new #14067
- [python] fixes bug where v2 specs generate clients when they should not #13996
- [python] fixes enum naming bug #13985
Ruby
- [ruby] Fix api_error.mustache to initialize message-only errors properly #14264
- Enable access token refresh #14251
- Update Ruby minimum version to 2.7 #14002
Rust
- [rust] Fix declaration for arrays with object and array references #14198