chore(deps): update dependency org.openapitools:openapi-generator-maven-plugin to v5.4.0
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
org.openapitools:openapi-generator-maven-plugin |
5.1.0 -> 5.4.0
|
Release Notes
openapitools/openapi-generator
v5.4.0
v5.4.0 is the last stable release before next major release v6.0.0 scheduled in 2022 Q1/Q2. It comes many enhancements/bug fixes and 5 new generators/libraries:
- java-camel: Apache Camel Server Generator
- java-micronaut-server: Add Micronaut server generator
- jaxrs-spec (kotlin-server): Kotlin client: add volley library support.
- generichost (csharp-netcore) Adding generic host library
- python-experimental Adds a new python client with robust composition, spec naming, and type hints
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.
General
- Migrate to official Apache Maven Wrapper #11381
- Adds generator default template engine #11366
- Recursively search for types during import type collection in deeply nested schemas #11221
Avro
- Avro schema generation fix for properties with type ref to an enum #11201
C
- keyword conflict with zebos list_creat(), list_free() #11190
C++
- [CPP-QT-QHTTPENGINE Server] various bug fixes #11177
#
C- Improve example value handling in C# generators #11355
- [csharp-netcore] Fix: Add only first Authorization header #11325
- [BUG][csharp-netcore] Fix Multi Files for the same FormField #11259
- [csharp-netcore] Adding generic host library #10627
Go
- Handling golang client generation for oneOf with no discriminator and useOneOfDiscriminatorLookup is true #11178
Java
- [JAVA] new Feature interface: Documentation Provider and Annotation Library #11258
- Avoid using import mapping in model generation #11217
- [Java Spring OAS3] Fix numerous OAS3 related Bugs #11181
- Apache Camel Server Generator #11162 (New Generator)
- Change Helidon MP release in generated project from 1.x to 2.x #11076
- Add Micronaut server generator Enhancement: New generator #10270
JavaScript
- [JS][flow] update node-fetch to newer version #11378
Kotlin
- [KOTLIN][CLIENT] fix unused library additional properties on kotlin generator #11328
- [kotlin] Added fix for wrongly encoded backticks for reserved words when generating kotlin client #11310
- [kotlin-server][jax-rs] Added support for JAX-RS library into Kotlin Server generator #10830
PHP
- [PHP] Allow guzzlehttp/psr7 ^1.7 or ^2.0 #11240
- [php][bug] Fix DateTime microseconds bug in ObjectSerializer #11213
Python
- [Python] fix model to dict #11234
- feat(python-asyncio): add support for proxy config using system env vars #11171
- Adds python-experimental which uses dynamic base classes #8325
Rust
- Rust Client: Add support for collectionFormat="multi" #11169
Scala
- [scala-gatling] use the official Gradle plugin #11208
Swift
- Make moduleObject.mustache confirms to JSONEncodable #11202
- [swift5] Add property x-null-encodable extension for full control over encoding value/nil or nothing #11141
TypeScript
- [TypeScript Fetch] Default TypeScript fetch configuration to 3.6+ true #11331
- [typescript-angular] Support blob response types #11085
v5.3.1
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 "Merge 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
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, click this checkbox.
This MR has been generated by Renovate Bot.