chore(deps): update dependency org.openapitools:openapi-generator-maven-plugin to v5.3.0
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
org.openapitools:openapi-generator-maven-plugin |
5.1.0 -> 5.3.0
|
Release Notes
openapitools/openapi-generator
v5.3.0
v5.3.0 comes with many bug fixes and enhancements with breaking changes (with fallbacks). Almost 240 MRs (covered more than 20 programming languages) contributed by the OpenAPI Generator community. Thank you.
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 snake case lambda #10658
- Add try-with-resources to unclosed streams #10641
- Improve version management, update dependencies, remove unused dependencies #10544
- Fix Windows build failure in some environments #10529
- Updated model generation, addProps handling moved into type object and anyType handling #10505
Bash
- Changing from scriptName to x-codegen-script-name to fix dockerfile #10594
C
- Libcurl CMake adaptations #10249
#
C- Fix compilation issues in the CSharpOperationTest class #10574
- [csharp-netcore]For conditionalSerialization do not initialize the default value. #10551
C++
- [cpp-rest-sdk-client] Serialize boolean parameters as true/false instead of 1/0 #10554
- [cpp][qt] Start cleanup of cpp qt readme #10549
- Improve templates for C++ Restbed #10543
- [cpprestsdk] fix string conversion, add integer enum support #10531
Crystal
- [crystal] Fix some issues in crystal client templates #10629
Dart
- Dart: mark jaguar for deprecation #10533
- [dart] json_serializable: remove experimental generator #10532
- [dart][dio] Respect import-mappings parameter #10528
- [dart-dio-next] Adds an option for using the dio_http package Client: Dart Enhancement: Feature #10497
Elm
- [elm] fix for invalid code being generated for enums #10328
- [bugfix][Elm] Fix template when response schema is Map #10310
Go
- [go]: fix anyOf compilation error #10431
- [go-server] Fix: param names clash with variables, added suffix #10243
Haskell
- [haskell-http-client] add ability to choose additional characters in querystring which should not be encoded (e.g. "+" or ":") #10424
HTML
- Updated the HTML2 Doc Curl Examples to provide sample Request Body & Query Param examples #10323
Java
- [java][jersey2] update dependencies #10659
- Improve Apache Httpclient support #10624
- [Java][Feign] Add http status to feign result #10583
- [Java][RestTemplate] Fix RestTemplate not handling ApiKey in cookie #10578
- [java][jersey2] use implementation, add min version of maven, gradle in the README #10571
- [java] Update Gradle to 7.2 #10538
K6
- [ K6 Generator ] Support for extracting examples defined at parameter level of Swagger/OpenAPI specification, plus minor fixes #9750
Kotlin
- Fix kotlin enum default value #10592
- Kotlin multiplatform updated to fit future Kotlin 1.6.0 release #10468
PHP
- [PHP] Update GuzzleHttp version to 7 #10585
- [php] fix 'mixed' invalid for settype() #10576
- [php-slim4] Migrate PHPUnit config #10230
PowerShell
- Add decimal support to the powershell generator #10486
Python
- [Python] fixes setitem throwing an error for composed instance #10197
- Python client - fixes boolean enum use case #9926
R
- Add decimal support to R client generator #10487
Ruby
- Ruby: Fix deprecation warning for Faraday #10559
- [REQ] [RUBY] [FARADAY] Allow middleware to be configured #10495
Rust
- Fixes doubles type as &str&str for type:string; format:uuid parameter #10569
Scala
- fix: don't send just " " in body, send an empty string #10561
Swift
- [swift5][client] add support for async await #10442
TypeScript
- [typescript-axios] Update to Axios 0.23.0 #10626
- fix(NestJS): use correct typing for default headers #10616
- [typescript-axios] Fix invalid query params usage #10512
WSDL
- [wsdl] string comparison bug fix, minor format change #10446
- [Wsdl] Handle schema property of type array with oneOf items and other minor updates/fixes #10434
v5.2.1
v5.2.1 release comes with 2 new generators:
- java-micronaut-client
- php-dt: new client generator for PHP language. Generated client is lightweight and extensible, relies on Data Transfer for handling request/response content and complies with PSR-7, PSR-11, PSR-17 and PSR-18.
Thanks for all 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.
C
- [C][Client] Allocate memory for the element of array when the type is number #10124
#
C- [csharp-netcore] Fixed the utc time issue for httpSigning auth #10139
- [csharp] Obsolete attribute on deprecated operations and properties #10084
C++
- [cpp-pistache-server] Fix missing semicolon in template and missing code to set default values of model schema #10136
- [cpp-ue4] Added support for bool in URL parameters, now writes true/false #9951
Dart
- [dart][dio] Nullable parameters & defaults for header/query parameters #10147
- [dart-dio-next] Don't use encodeCollectionQueryParameter on maps #10116
- [dart-dio] Fix parameter generation problems #10061
Elixir
- [Elixir] Adding :package and :description to mix.exs template #9945
Erlang
- [erlang-server] Dialyzer spec #9983
Go
- [go-server] Feat: add required assertions to models #10068
- [go] More idiomatic godoc comments #10044
Haskell
- Haskell-http-generator - Make endpoints which don't return anything yield NoContent #9916
Java
- [BUG][Java] Fix a race condition in RetryingOAuth.mustache #10087
- Add support for Micronaut Client #10063
- [Spring] Use fully qualified name for Pageable #10045
- [jaxrs-resteasy] fix java8 datetime issue #10014
Kotlin
- Add AnyType support to Kotlin generators #10070
- [Kotlin][Multiplatform] Add missing JVM dependency #10051
PHP
- Make php's array primitive #10093
- [PHP] Deprecated annotation on operations and fields #10085
- [PHP] New client generator php-dt #10041
Python
- [python-flask] Fix NoneType when deserialize optional date #10081
Ruby
- [Ruby] Add new Ruby versions to the Travis CI build matrix configuration #9971
Rust
- [rust-client] Fix typo related to the form parameters #10096
TypeScript
- Typescript-angular: Added missing semi colon to interface file #10121
- [typescript-fetch] Add initOverrides #10050
Swift
- [swift5 client] fix filename for binary downloads #9989
v5.2.0
v5.2.0, containing breaking changes with fallbacks, has been released with bug fixes, enhancements and 3 new generators:
- cpp-tiny
- python-fastapi
- wsdl-schema
Please give these a try let us know if you've any feedback.
The release comes with 190+ MRs contributed by the OpenAPI Generator community. Once again, we would like to thank all contributors for their contributions.
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
- Better null check to surpress SonarCloud warning #9888
- operationId: Allow getting only the method name #9724
- Avoid using Properties.clone() which is broken in Gradle plug-in #9653
- Adds isShort + isUnboundedInteger to IJsonSchemaValidationProperties implementers #9519
- Fix Gradle Plugin ValidateTask not working under Gradle 7.0 #9453
Android
- [Android] update httpclient version, fix compilation issue in the sample #9728
Bash
- [Bash] Fix matching of header parameters #9370
C
- [C]: Fix enum values #9537
#
C- Conditionally apply serialization on certain properties #9807
- [aspnetcore] avoid empty string enum value in the option #9501
- [csharp][httpclient] Introduce FileParameter as an abstraction #9426
- [csharp][netcore] Handle Deserialization Asynchronously #9424
C++
- [C++][pistache] string enum code generation improvement #9786
- [cpp-ue4] API calls not return the http request for further manipulation #9693
- [cpp-restsdk] Update json double/float parse #9577
- [cpp][tiny] rename generator, update samples #9560
- [C++] Rename Qt5 to Qt #9490 Breaking change (with fallback)
- New generator | Arduino cpp #9489
Crystal
- [crystal][client] Support authorization #9488
- [crystal] Update crystal version 1.0.0 (from 0.35.1) #9477
Dart
- [dart][dart-dio] Add support for query collection parameter format #9635
- [dart][dart-dio-next] Improve support for file uploads #9542
- [dart] Improve content-type handling #9517
Erlang
Go
- [go-server] Add go-chi generator to go-server via a router property #9748
- [go-gin-server] add PATCH method support #9662
- [goserver] Fix single inheritance code generation for goserver #8356
Haskell
- [BUG][Haskell] Fix returning NoContent #9830
- [haskell][server]: Set "AnyType" to Aeson.Value #9733
Java
- [Java] [Native] Unify exception messages for async, add the status code #9825
- [Java][Feign] Skip oauth-related files when the spec has no oauth defined #9760
- Hide buildOauthRequestInterceptor under isOAuth section #9736
- [Java][WebClient] add ResponseEntity return for webclient #9327
Kotlin
- Add support for generating a Set for a list with uniqueItems set to true #9849
- [Kotlin Multiplatform] Update and fixes for Kotlin 1.5.10 and Kotlinx.serialization 1.2.1 #9755
- [kotlin][client] fix Android crash on API level 25 and bellow #9578
- [Kotlin][retrofit2] replace okhttpclient with callfactory #9451
- [Kotlin] Allow optional header parameters with Kotlin and retrofit2 #9306
JavaScript
- [JS][Flow] Better code format, update samples #943
- [Javascript-Flowtyped] Handle joining uniqueItems in api template #9417
PHP
PowerShell
- [PowerShell] Improve generated PowerShell examples #9836
Python
- New python-fastapi generator #9611
- Fix python generation when custom files and templates are specified #9572
- [python][client] allow passing floats for request timeout #9532
- [python] readonly constructors #9409
- [python] Fixes additional_properties_type for models #8802 Breaking change (with fallback)
R
- Add support for Boolean in R client generator #9469
Rust
- [rust-client]: fix reqwest not support client::options #9745
Scala
Swift
- [Swift5] support Vapor 4 client library #9625
- [Swift5] namespace changes #9624
- [Swift5] Add useClasses cli option #9608
- Add hashableModels to additional properties #9495
- [swift5][client] make AnyCodable optional #9479
- [swift5] Map file and binary to Data #9419
- [swift5][client] add option to generate or not the model additional properties #9375
- [swift5] Add support for oneOfs #8714
TypeScript
- [typescript-fetch] Support for async accessToken #9659
- Typescript: add paramPropertyNaming #9546
- [typescript-axios] properly mark 'deprecated' routes in #9505
- Add OAuth2 to typescript template #9466
- [typescript] Fix uncompilable output when using allOf #9275
- [Typescript Fetch] New optional mode with redux saga & immutablejs (saga & records) #8578
WSDL
- New generator: WSDL #9545
v5.1.1
v5.1.1 is a patch release with enhancements, bug fixes covering 15+ programming languages. As always, we appreciate the contributions from the awesome OpenAPI Generator community. In this release, we've added a new go-echo-server
generator.
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
- [Enhancement] added support for custom type & format mapping #9285
- [Docker] support multi-arch build #9246
- Gradle plugin -
@Input
and@Internal
should not be apply on the same property #9059 - [core] Allow using lists as globalProperty in config files #8339
- Add executionId to filehash in OpenAPI Generator Maven Plugin #7848
Bash
#
C- [csharp-netcore][httpclient] Issues managing error statuses #9389
- [csharp][netcore-httpclient] Refactor of constructors: removed obsolete attribute #9373
- [C#][netcore] Add multiple frameworks support #9196
- [C#] fix integer enum without format #9136
- [csharp][netcore-httpclient] Reuse HttpClient, Allow use of external HttpClient, Fix Socket Exhaustion, Alternative With Constructor Injection #9085
- [csharp][aspnetcore] Fix FileUpload Parameter Generation for aspnetcore #9000
C++
- [cpp-ue4] Improved retry system to use Unreal's FHttpRetrySystem #9382
- UE4 - Support FGuid with in/out Helpers #9291
- C++ Qt5 support date format enum #9283
- Include QVariant helpers header #9161
- [C++] remove pthread from CMakeLists.txt #9130
Dart
- [dart][dart-dio] Add built_value date support w/o timemachine #9180
- [dart] Improve types & imports #9167
- [Dart2] Add initial support to use an isolate to offload JSON serialization/deserialization #9100
- [Dart] Use interrupted exception instead of just exception #9092
Go
- Add Go echo server codegen #9224
- [Go][server] parse bool in query parameter #9171
- [Go] Parse int arrays and respect the 'required' property #9120
- [go] Add constructor and IsValid method to enum types #8224
Java
- [java][okhttp] Default Java client to Java 8 instead of Java 7 #9344
- [Java][Spring] Different in-parameter types generated for api and delegate for binary (application/octet-stream) #9331
- [Java][JavaJaxRS] Respect readOnly/writeOnly attribute markers #9276
- [Java] [Native] Add response body to exception message #9169
- [BUG] Java (jersey2) ApiClient debug cannot be enabled #8756
- [JAVA][jaxrs-spec] Added custom methods to add/remove elements from java collections #6468
Javascript
- Use prepare script instead of prepack in Javascript package.json #7807
Kotlin
- [Kotlin] Make ApiClient in jvm-retrofit2 be able to add additional retrofit Converter Factory #9316
- Kotlin jvm-retrofit2: Add missing ResponseBody import for binary responses #9239
- [Kotlin] add BigDecimal, BigInteger support #8880
Nim
- [nim] camelize names #9255
PHP
- [php-symfony] remove nested Valid constrain #8994
- [PHP] Fix parentSchema conditional causing parent call when parent isn't present #8705
PowerShell
- [PS] minor improvements to the auto-generated appveyor.yml #9300
- [PowerShell] improve return type documentation #9295
Python
- [Python] Fix exclusive min and max #9340
- Fixes serialization of array items in model_to_dict [python] #9153
Ruby
Rust
- [Rust] Add enum suffix support #9107
- [rust-server] Update templating docs to correct the name of x-response-id #7839
Scala
- [Scala][Akka] Use Files.createTempFile to address security concerns #9348
- [scala-akka-http-server] allows generation of managed sources only #9012
Swift
- Swift5 models improvements #9205
- Add Hashable for Struct #9166
- [swift5] Add useSPMFileStructure #9074
TypeScript
- [typescript-axios] add missing baseName for array params #9273
- typescript-angular: Fix Cannot read property 'apiKey' of undefined #9260
- Resolve response type name conflict in angular typescript lib #9216
- Resolve responseType name conflict in Angular Typescript lib #9202
- [typescript-angular] Provide return value for all code paths #9176
- [typescript-axios] handle uniqueItems in query and header parameters #8965
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.