chore(deps): update dependency org.openapitools:openapi-generator-maven-plugin to v6.5.0
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
org.openapitools:openapi-generator-maven-plugin |
6.2.0 -> 6.5.0
|
Release Notes
openapitools/openapi-generator
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 "Merge Request" tab.
General
- Add isOverridden, update Java pojo with setter for parent properties #15051
- Add new openapi-normalizer rule REFACTOR_ALLOF_WITH_MROPERTIES_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
TypeScript
- Fix TS jQuery tests by increasing timeout #14991
- fix(typescript-angular): fix model filename including modelNamePrefix #14859
v6.4.0
v6.4.0 released with bug fixes and enhancements. As usual we appreciate the contributions from the OpenAPI Generator community.
For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Merge Request" tab.
General
- fix: Inline model schema's name is wrong #14687
- Add 'endsWith' handlebars helper function #1463
- Preserve order of securitySchemes #14536
C#
- [csharp-netcore] Use scheme from base address #14685
- [csharp-netcore] Fixed format of Date serialization #14616
Dart
- [dart][dart-dio] Add deprecations on models and fields #14676
- [dart][dart-dio] Bump Dio to 5.0.0 #14675
Go
- [Bug][Go] consider allOf schemas for rendering string default vaules #14684
- [Go] properly set header parameters on api clients #14637
Java
- [BUG][JAVA][SMRING] Fix serialization when there is a discriminator with mapping #14733
- Fix toUrlQuery string method in anyOf models in java native client #14715
- [Java] fix default value for JsonNullable #14703
- [Fix] take numeric types into account for array defaults #14694
- [java][apache-httpclient] update httpclient dependency to the latest 5.x #14673
- [Java/Microprofile] Add support for Jackson serialization & async #11554
JavaScript
- [JAVASCRIPT] Fix inconsistent validateJSON and validateJsonObject calls, breaking object validation #14720
Kotlin
- ktor-client add toString() for generic params #14717
Python
- [python-fastapi] update starlette to newer version #14700
- [python-nextgen] better datetime support in parameters #14621
- [python-nextgen] optionally support float strict type #14618
R
- R] Fix escaping in templates #14572
Ruby
- Set proxy in ruby faraday client if configured #14597
Rust
- [rust] Fix content-type in templates #14702
v6.3.0
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
For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Merge 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
- Add Spring 6 HTTP interfaces #14485
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
Swift
TypeScript
- [typescript] Add importFileExtension option to support ECMAScript module resolution #14371
- [typescript-axios] single request param in factory #14358
v6.2.1
v6.2.1 is a patch release with 140+ commits including bug fixes and enhancements for 10+ programming languages. kotlin
client generator now also supports Vert.x library. As always we appreciate the contributions from the community.
For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Merge Request" tab.
General
- Update dependencies for CVE #13834
#
C- [csharp-netcore] Allowing user to set client package #13785
- [csharp] Fixed data type for maps of maps #13701
Crystal
Elixir
- Elixir: Improve generated API options docs #13478
Elm
- [elm] add function to allow more fine grained error handling #13773
Go
- [GO] fix: stops checking for nil for structs https://github.com/OpenAPITools/openapi-generator/pull/13843
- [go-echo-server] update echo to newer version #13732
JavaScript
- [JavaScript] add oneOf support #13561
Java
- [Java][okhttp-gson] Minor improvements https://github.com/OpenAPITools/openapi-generator/pull/13864
- Java jersey OAuth2 add support for public client #13828
- [JAVA] [NATIVE] Fix exploded query parameters with array property #13656
- Spring request mapping mode #13838
- [Java][jaxrs-spec] Make contextPath template parameter available as a string constant for use in @ApplicationPath #13377
Kotlin
PHP
- [PHP] handle properly multiple accept headers https://github.com/OpenAPITools/openapi-generator/pull/13844
- [PHP] Allow selecting Content-Type #13769
- [PHP-Symfony] Encourage Symfony 5 bundle directory structure best practices #13014
Python
- [python] fixes required prop in composed schema, prop not in properties, addProps unset #13819
- [python] Fixes endpoint overload type hint + required property not in properties #13790
- [python] Fixes bugs #13581
- [python] fix for issue #13722: send body for application/x-www-form-urlencoded data #13723
R
- Better error handling in the R client #13800
Rust
- [rust] [rust-server] More abstract functions including integer fitting #13503
- [rust] Fix generation for optional and nullable fields (double option pattern) #13177
Swift
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Merge request reports
Activity
added 3 commits
-
e7ee3dc0...e13aeb10 - 2 commits from branch
develop
- 375254a4 - chore(deps): update dependency org.openapitools:openapi-generator-maven-plugin to v6.2.1
-
e7ee3dc0...e13aeb10 - 2 commits from branch
added 3 commits
-
1d161258...52c052dd - 2 commits from branch
develop
- 88a3dda2 - chore(deps): update dependency org.openapitools:openapi-generator-maven-plugin to v6.2.1
-
1d161258...52c052dd - 2 commits from branch
added 7 commits
-
88a3dda2...b4f7dccc - 6 commits from branch
develop
- ce2c2ce8 - chore(deps): update dependency org.openapitools:openapi-generator-maven-plugin to v6.2.1
-
88a3dda2...b4f7dccc - 6 commits from branch
added 1 commit
- d0fa1175 - chore(deps): update dependency org.openapitools:openapi-generator-maven-plugin to v6.3.0