chore(deps): update dependency org.openapitools:openapi-generator-maven-plugin to v7.13.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
org.openapitools:openapi-generator-maven-plugin | build | minor |
7.10.0 -> 7.13.0
|
⚠️ WarningSome dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
openapitools/openapi-generator (org.openapitools:openapi-generator-maven-plugin)
v7.13.0
: released
v7.13.0 stable release comes with 160+ enhancements, bug fixes, and a new Kotlin Misk server genreator.
Thanks again for all the awesome contributions from the community.
For a full list of changes, please refer to the "Merge Request" tab.
v7.12.0
: released
v7.12.0 stable release (breaking changes with fallbacks) comes with 80+ enhancements, bug fixes and a refactored PHP Laravel server generator
This release comes with 3 breaking changes (with fallback):
- [csharp] Set generichost as default #20748
- [protobuf-schema] Replace zero value enum suffix from UNKNOWN to UNSPECIFIED #20473
- [java][spring]Using Optional.ofNullable() at the fluent setters to prevent NPE #20406
Below are the highlights of the changes. For a full list of changes, please refer to the "Merge Request" tab.
General
- Add openapi-normalizer rule to set tags to vendor extension #20713
- remove false error message "Required var not in properties" #20623
- [DefaultCodegen] simplified comparison for required flag #20602
- [Gradle plugin] Add Option to Skip Merging Spec Files #19396
asciidoc
- [BUG] [ASCIIDOC] Asciidoc generator sets not defined example values as string value "null" #20670
#
C- [csharp][generichost] fix syslib1045, use GeneratedRegex for .net7+ #20695
- [csharp] Fixed discriminator #20624
- [csharp] unity error message and code cleanup #20595
- [csharp] Replaced property from allOf #20578
- [csharp][generichost] Removed a using statement #20541
- [csharp][generichost] Fixes de/serialization #20540
- [csharp][java] Fix enum discriminator default value #19614
Dart
- Fix: Resolve Dart 3.5+ and json_serializable 6.9.0+ compatibility issues in generated dart-dio clients #20460
Erlang
- [Erlang] Fix crash on escaped type in erlang-server handler #20735
- [erlang] erlang-server generator fixes #20717
Elixir
Go
- [Go] Implement GetActualInstanceValue method #20663
- [Go] skip validator import if oneOf discriminator lookup is enabled #20497
- [BUG][Go-server] attempt to fix the controller-api mustache template for a nullable bodyParam #20478
Java
- SingleRequestParameter setter parameter construction #20679
- reuse Configuration.defaultApiClientin no-arg Api ctors and make ref volatile #20635
- [java][client] Add static modifier to inner class in Java when useSingleRequestParameter=true #20590
- [JAVA][JAXRS-SPEC] Add config option to disable generation of @JsonCreator constructor #20570
- Add option to generate a fully sealed model in the JavaSpring generator #20503
- Using Optional.ofNullable() at the fluent setters to prevent NPE #20406 (breaking changes with fallbacks)
- [java][spring] Add option optionalAcceptNullable to accept null values #20746
- [java][feign] Fix model combining properties and additional properties #19713
- [java][webclient] Fix model combining properties and additional properties #19711
- [java][resttemplate] Fix model combining properties and additional properties #19706
- [csharp][java] Fix enum discriminator default value #19614
Julia
- [julia] fix enum default vals, add api validations #20520
Kotlin
- [kotlin][client] Explode query param properly #20714
- [kotlin-spring] Adds 'suspend' modifier for reactive List endpoint with useFlowForArrayReturnType = false #20710
- [JavaSpring, kotlin-spring] attach sources when maven and interfaceOnly=true is used #20640
- Added HTTP method+path to JavaDocs in kotlin clients #20618
- [kotlin-client][jvm-spring-restclient] Extract data from PartConfig for multipart/form-data requests in ApiClient #20598
NodeJS
- fix(nodejs-express-server): remove unused axios dependency #20707
- docs(nodejs-express-server): fix default port number in README #20706
- fix(nodejs-express-server): update express-openapi-validator to v4 #20704
PHP
- [php][php-nextgen] enumUnknownDefaultCase true now return the correct value for unknown values #20594
- allow PHP generator to accept modelNameMapping 20533
- Rewrite the PHP Laravel generator #20526
- [php-*] Explicitly declare nullable parameters #20524
Protobuf schema
- [protobuf-schema] Replace zero value enum suffix from UNKNOWN to UNSPECIFIED (Breaking change (with fallback)) #20473
Python
- [Python] Fix mustache tag syntax in github worklow #20701
- [Python] Add ca_cert_data parameter #20697
- [python] Encode list query parameters for python pydantic v1 client #20614
Ruby
- [Ruby] Fix ruby client generator to generate setter methods with not null validation #20672
- Ruby fix typhoeus api client multiple call with file return type #20615
Rust
- [rust] Fixed compiler errors for decimal types #20708
- [Rust] Fix enum variant name generation #20689
- [RUST] chore: Clean up Rust reqwest and model templates #20674
- [rust] Added support for text/plain to reqwest clients #20643
- [Rust] Fixed Rust default isAnyType causing compiler issues #20631
- [Rust-Axum] Implement support for Basic and Bearer auth in Claims #20584
- [Rust-Axum][Breaking Change] Implement a customizable error handler #20463
Swift
- [swift][bug] Fix generation of cases with associated values #20568
TypeScript
- [typescript] middleware import file extension in api types #20745
- Updated BaseService and service arguments in the mustache files #20736
- [typescript] Prevent generating invalid enum code due to empty variable names #20699
- [typescript-angular] refactor service classes for reducing bundle sizes by ~20% #20681
- [typescript-axios] Conditionally set user-agent #20571
- [typescript] add call-time middleware support #20430
v7.11.0
: released
v7.11.0 stable release (breaking changes with fallbacks) comes with 150+ enhancements, bug fixes. Once again thank you for all the awesome contributions from the community.
This release comes with 3 breaking changes (with fallback).
This release comes with 1 new generator:
- Added PostgreSQL schema generator (BETA) (New generator) #20255
Below are the highlights of the changes. For a full list of changes, please refer to the "Merge Request" tab.
General
- [normalizer] Better handling of schema with just description (any type) #20461
- Set removeEnumValuePrefix to false by default (Breaking change (with fallback)) #20452
- On enum name sanitize, convert colon to underscore (Breaking change (with fallback)) #20391
- Various enhancements, bug fixes to default codegen and maven plugin #20388
- fix (DefaultGenerator): Handle "$ref" parameter reference to identify parameter ID #20240
- Trim the input of operationId filter in OpenAPINormalizer #20189
- Resolve inline schemas in webhooks #20165
C
- [C][Client] Make custom CMAKE_C_FLAGS work #20432
- C overhead fixes #20402
- [C][Client] Remove broken intToStr() macro, update samples #20383
- Fix a few issues with the C generator (part 8) #20378
- Fix a few issues with the C generator (part 7) #20366
- Fix a few issues with the C generator (part 6) #20332
- Fix a few issues with the C generator (part 5) #20313
- Fix a few issues with the C generator (part 4) #20289
- Fix a few issues with the C generator (part 3) #20269
- Fix a few issues with the C generator (part 2) #20227
- Fix a few issues with the C generator (part 1 version 2) #14434
#
C- [csharp] Removed .net6 and .net7 (Decommission) #20449
- [C#] avoid duplicated header in csharp client (restsharp) #20421
- [ASPNETCORE] Add support for central package version management #20403
- [csharp] bump version to .net8 #20384
- Fixes body of FormParameters in multipart/form-data requests without files sent by generated C# (RestSharp) #20351
- [csharp] add .net9 support #20270
C++
- [cpprestsdk] Implement Enum inside Objects #19919
Elixir
- Improved Elixir Atom Generation #20229
- [elixir] Update dialyzer spec #20024
- [Elixir] Use string headers #19759
Elm
- [Elm] Fix not compiling all elm files in test suite #20191
- [Elm] Fix not sanitizing param name #20171
- [Elm] Add missing operation summary #20147
Erlang
- Erlang server – minor fix to return type and generated doc #20197
- Updated README.mustache template for the Erlang server generator #20138
Go
- [BUG] [Go-server] invalid composite literal type string #20467
- Update crypto dependencies to newer versions in go-gin-server #20326
- [BUG][GO] use value receiver for JSON marshal #19962
Java
- [JAVA] Address
rawtypes
andthis-escape
warnings in generated API clients #20466 - Adds @Nullable annotation to Spring Boot generator #20345
- Depend on jackson-jakarta-rs-json-provider when useJakartaEe is true in build.gradle for Java resttemplate generator #20322
- Fix bug in common path prefix calculation in Helidon generators #20310
- [Java] Add option to fallback to legacy enum naming #20172
- [Java] [Microprofile] Add Json-B polymorphism type info annotations #20164
- Deprecate micronaut openapi generator (Decommission) #20107
- [Java] Remove bean validation annotations on builder #19580
JavaScript
- Add option skipDefaultUserAgent to skip setting user agent in JS client #20367
Julia
- Fix Julia template for binary string #20355
Kotlin
- Bump Ktor to 3.0.3 for Kotlin client #20410
- [kotlin-spring] Adds useFlowForArrayReturnType option for reactive mode #20409
- Add gradle wrapper v8.1.1 to kotlin-spring #20341
- [kotlin][client] add option to support non-ascii headers in okhttp #20331
- [kotlin][client] support text/plain in okhttp #20250
- [Kotlin Server] Update Ktor to the next major version 3 #20245
- fix: register gson CustomTypeAdapterFactory in kotlin-client if generateOneOfAnyOfWrappers enabled #20217
PHP
- [php-nextgen] Use conditional access for enumref query params #20418
- [PHP][php-nextgen] Improve method parameter typing #20361
- [FIX][PHP-NEXTGEN] Missing tagged union discriminator literal #20356
- [PHP][php-nextgen] List all possible return types #20335
- [PHP][php-nextgen] Fix usage of enums in parameters #20294
- [php] Follow PHP8.4 update: declared nullable parameters explicitly #20243
- PHP8.4 comptible, php-symfony resources #20162
PostgreSQL
- Added PostgreSQL schema generator (BETA) (New generator) #20255
Python
- [Python] adjust multi-constraint dependency syntax to comply with PEP 508 #20458
- Fix package name in FastAPI README template #20371
- [python,aiohttp] Don't create persistent aiohttp.ClientSession in init #20292
- [Python] Bug Fix - model_generic templates to have valid imports for polymorphism #20273
- Fix(Python): Add custom exceptions for HTTP status codes 409 (Conflict) and 422 (Unprocessable Entity) #20251
- [python-flask] Change requestBody argument name to 'body' in controllers #20207
- [python] Encode list query params #20148
- [BUG][PYTHON] fix setup.py when no paths are specified #20098
R
Rust
- [Rust] harden against name collisions while generate cleaner rust code #20396
- [Rust-Axum][Breaking Change] Improve the oneOf model generator (Breaking change (with fallback)) #20336
- [Rust] Fixed rust keyword params in reqwest-trait library #20333
- [Rust] Added path param normalization for kebab case path params #20309
- [Rust-Axum] Fix: handling non-lowercase Header in Request/Response #20178
- [Rust-Axum] Support quotes in string literals #20176
- [Rust-Axum] Dynamically set the types of integer literals #20133
- [rust][reqwest] support binary type for download #20031
Swift
- [swift] fix: URLSession template correctly percent-encodes http body for application/x-www-form-urlencoded #20381
- [swift5] Add access control to the properties of validation rules #20380
- [swift6] Change Response to struct #20185
- [swift5] Add Identifiable conformance to supported models #20179
- [swift6] Add checked Sendable conformance to Validation structs #20150
- [swift6] Add conditional Hashable conformance to NullEncodable #20149
TypeScript
- [typescript-fetch] fix API signature return type for empty 20x responses #20249
- fix(typescript-angular): fix new angular dependency cli option usage #20247
- feat(typescript-angular): add support for Angular V19 #20205
- Fix dangerous destructuration in typescript-nestjs services #20157
- [typescript-axios] Add User-Agent Header to Default Axios #20067
Scala
- Improve handling of pekko versions in scala-akka-http-server generator #20277
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.