Skip to content

Conversation

renovate-bot
Copy link
Collaborator

@renovate-bot renovate-bot commented Aug 20, 2025

This PR contains the following updates:

Package Change Age Confidence
openapi-generator-cli ==7.11.0.post0 -> ==7.15.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

OpenAPITools/openapi-generator (openapi-generator-cli)

v7.15.0: released

Compare Source

v7.15.0 stable release (breaking changes with fallbacks) comes with 140+ enhancements, bug fixes. Once again thanks for all the contributions from the community.

This release comes with 1 breaking change (with fallback):

  • [rust-server] Update to hyper1 in rust-server generator #​21422

The community also contributed 3 new generators in this release:

Below are the highlights of the changes. For a full list of changes, please refer to the "Pull Request" tab.

General

  • Bugfix for remote specs with params #​21634
  • [gradle-plugin] add treatWarningsAsErrors option to openApiValidate in gradle plugin #​21626
  • Fix response model generation with ParseOptions.resolveResponses=true #​21568
  • [req] Allow models and apis list properties to span multi-lines #​21536
  • Bump jmustache 1.15 -> 1.16 #​21352
  • Add 'isFormStyle', 'isSpaceDelimited', and 'isPipeDelimited' flags to CodegenParameter #​21240
  • Added symlink to generator CLI in Docker image #​15559

C

  • add curl handler pre-invoke-callback to c-libcurl #​21654
  • feature: Add control flag for static compile #​21635
  • Add verbose, keepalive, keepidle, keepintvl to c-libcurl #​21613

C#

  • [REQ] [CSHARP] [UNITYWEBREQUEST] Support Stream for unityWebRequest library #​21704
  • [BUG][CSHARP][GENERICHOST] Write enum values in expected JSON format #​21698
  • [csharp] Fix composed enum handling #​21690
  • [csharp][generichost] Fix response testing when dataType missing #​21687
  • [csharp] Ensure unique property names #​21649
  • [csharp] Handle nested maps recursively #​21636
  • [C++] [Client] Added cpp-oatpp-client generator #​21711

C++

  • [C++] [Client] Added cpp-oatpp-client generator #​21711
  • [C++] [Client] Fixes to cpp-oatpp-server generator #​21595
  • Add cpp-oatpp-server generator (alpha) #​21547

Dart

  • Feat: #​21665 [dart][dart-dio] CopyWith for json_serializable #​21667
  • [dart-dio] Fix json_serializable response for type:string format:binary #​21379
  • [dart-dio] Fix compile error in enum properties with "default" values (#​20495) #​21355

Go

  • Update AWS Go SDK from v1 to v2 in Go client templates #​21653

Java

  • [Java][RestClient] Generate servers for restclient library #​21699
  • [spring] Adapt HttpHeaders access to remain compatible with Spring 7 #​21691
  • [JAVA] Remove [this-escape] warnings in generated ApiClient classes #​21620
  • [Java-Spring] add comment to EnumConverterConfiguration mustache file #​21598
  • Conditional import of AtomicInteger added to delegate template #​21597
  • [Java] [SpringClient] Introduce setting for sealed oneOf interfaces for Spring clients #​21586
  • [okhttp-gson] Type check of array element only when array is not empty #​21571
  • [Bug][java-spring] Use Flux only for multipart-form-data file parameters with multiple file uploads #​21561
  • [Java][native] Add ability to add header to specific calls #​21495
  • Move the singleRequestParameter template into a separate file #​21489
  • [Java][MicroProfile] Support additionalProperties with Jackson #​21451
  • Restricted Java oneOf imports to Jackson only when needed (#​21404) #​21405
  • [JavaSpring] Allow configuring generic ResponseEntity for Spring generator #​21387
  • [java][Microprofile] add config options to disable usage of ApiExceptionMapper #​20762

Kotlin

  • [REQ] [CSHARP] [UNITYWEBREQUEST] Support Stream for unityWebRequest library #​21704
  • kotlin-spring: fix exception thrown in enum.forValue #​21622
  • [Bug][kotlin-spring] add a Spring type converter for enum values #​21579
  • Kotlinx polymorphism with custom discriminator support #​21531
  • [BUG][Kotlin] Fixed primitive type check for array of array #​21500
  • [BUG][kotlin-spring] Fix Boolean type mismatch for kotlin-spring generator (#​21478) #​21481
  • [BUG][Kotlin] fix: kotlin code generator should sanitize enum values according to convention #​21459

OCaml

PHP

  • [php][php-nextgen] add new github workflow to perform syntax check on php files #​21678
  • [php] Fix file uploads (by backporting #​21458) #​21632
  • fix: Use correct constructor for ApiException in PSR-18 PHP library #​21631
  • Removed try/catch to enable framework error handling to pick up error #​21523
  • php-nextgen - Fix flatten() to support arrays of files #​21458

Protobuf

  • [Protobuf] Fix nullpointer for allOf with additionalProperties=false #​21556

Python

R

  • [R] add null checks to nullable api parameters #​21629

Rust

  • [Rust] Replace more HeaderValue::from_str with compile time from_static #​21689
  • Add reqwest-trait crate to workspace and rename it #​21674
  • Fixup failing CI in rust-server due to xmltree dependency #​21664
  • [rust] Extend oneOf array enum names with inner type #​21599
  • [Rust-Axum] Basic Authorization - Basic Analytic - XSS Sanitize #​21578
  • Replace periods with underscores in Rust model names #​21480
  • [rust-server] Update to hyper1 in rust-server generator (Breaking change (with fallback)) #​21422

Scala

  • [Scala sttp] Fix header serialization for Optional values #​21603
  • Generators "scala-sttp" and "scala-sttp4" produce valid code when using APIKeyQuery, APIKeyHeader and APIKeyCookie #​21551
  • [scala][http4s] fix escaping of reserved words for correct model property names #​21518
  • [scala][http4s] fix codegen for using reserved words in openapi #​21490

Swift

  • [swift] [urlsession] Fixes crash for uploads with content-type "image/" #​21544
  • [Swift5][Swift6] support "x-enum-descriptions" #​21706

TypeScript

  • feat(typescript-angular): prepare build #​21684
  • [BUG][typescript-fetch] Default case for oneOf serialization method returning undefined variable. #​21669
  • [Bug][typescript-fetch] Typescript fetch one of addtl props imports #​21656
  • [Bug][typescript-fetch] Fix missing close parenthesis in oneOf models #​21645
  • [test][typescript-fetch] Add / improve unit tests for current typescript-fetch oneOf logic #​21638
  • [typescript] Add optional erasable syntax configuration to Typescript generator #​21560
  • [Typescript Fetch] Fix missing closing bracket in date handling #​21549
  • Followup fix for importFileExtension config for typescript-axios #​21541
  • NestJS server codegen (new generator) #​21494
  • Fix typescript-fetch missing imports for oneof field with discriminator #​21477
  • [typescript] Utility types now considered when generating schemas #​21414

v7.14.0: released

v7.14.0 stable release (breaking changes with fallbacks) comes with 110+ enhancements, bug fixes. Once again thanks for all the contributions from the community.

This release comes with 1 breaking change (with fallback):

  • [GO] Go Server: Adds ordered routes to go-server router #​21280

Below are the highlights of the changes. For a full list of changes, please refer to the "Pull Request" tab.

General

  • [gradle-plugin] Fix openapiGeneratorIgnoreList option #​21363
  • Better handling of metadata in allOf #​21342
  • Update swagger parser to 2.1.28 #​21325
  • Fix broken build on Windows OS if the schema contains references to other schema files #​21300
  • CodegenOperation & CodegenProperty: turn fields into getters #​21225
  • fix: fix dev container failing to build #​21218
  • Remove duplicate oneOf schemas during pre-processing #​21174

C#

  • [csharp][generichost] Removed duplicate service registration #​21395
  • [csharp][generichost] Updated docs #​21357
  • [csharp][generichost] Fixed token availablity #​21326
  • [csharp] Add missing ConfigureAwait(false) for csharp generator #​21244
  • [csharp] Ignore date length validation #​21217

C++

  • [cpp-restsdk] store Object as a shared pointer #​21349
  • [cpp-restsdk] link cpprest without crypto libraries #​21348
  • [cpp-rest-sdk] support serializing model base as parameters #​21235
  • [cpp-rest-sdk] fix enum values being used instead of names #​21223
  • fix(cpp-qt-client): add asJsonObject method to OAIEnum class (#​19307) #​21211

Elixir

  • [chore][elixir] update dependencies #​21210
  • [fix][elixir] simplify connection module #​21158

Go

  • [GO] Go Server: Adds ordered routes to go-server router (Breaking change (with fallback)) #​21280

Java

  • [Java] Fix content for enum in MultiPart #​21428
  • [Java][RestTemplate] Gradle Build include non-compatible Spring Dependency with jakarta disabled #​21426
  • [Java][vertx] fix path param encoding #​21403
  • [jaxrs-spec][quarkus] fix cookie in param #​21400
  • feat (JAVA NATIVE): add support for useSingleRequestParameter to java native client #​21331
  • [JAVA] Correct generation of schema default values of type object #​21278
  • Add option to set container's default to empty container #​21269
  • Java: Optimize HashSet Initialization #​21205
  • [JavaSpring][21200] improve Kotlin interopability with optional values #​21202
  • adjust (sync) jersey2/jersey3 templates #​21171

Kotlin

  • [kotlin] Fix compile error in enum properties with "" values(#​18660) #​21416
  • Fix MiskKotlin OpenApiGenerator types #​21390
  • avoid intersection type in kotlin-client template with jvm-okhttp4 engine #​21378
  • [kotlin-client][multiplatform] update Kotlin and libraries versions #​21353
  • [Kotlin] Primitive array items validity check #​21315
  • Kotlin Misk Add Extra Parameters #​21271
  • [kotlin-spring] fix validation regression in kotlin-spring generator #​21255
  • [kotlin-client] Add support for integer enums in serialization step #​21248
  • Improve Kotlin Misk OpenApi Generator #​21165

Nim

  • [Nim] Fix compilation in case of schema with enum constraint with an enum value being not a valid nim identifier #​20780

Python

  • [python] Validate pyproject.toml and fix the pyproject.toml version constraint format #​21402
  • Replace periods with 'DOT' in Python enum member names #​21372
  • fix(python-fastapi): remove 200 fallback code and use default (#​12481) #​21333
  • [python] Fix poetry deprecation warnings #​21268
  • [Python] Add all variable in the package init.py file for Python APIs #​21185
  • [Python] Correct sanitize_for_serialization in python generator for list in oneOf schema elements #​19405

PHP

  • Abstract PHP support of "original" for variableNamingConvention #​21336
  • [PHP-Symfony] revamp the computation of the contentType #​21292
  • [php-laravel generator] update $request->bool to $request->boolean #​21273
  • [php-symfony] fix handling of endpoints with "text/plain" or "image/png" response type #​21261
  • [php-flight] fix: remove trailing spaces #​21254
  • [php-flight] fix: use static PHPUnit assertions #​21253
  • fix(php-nextgen): do not call static methods dynamically #​21163

Rust

  • [rust-axum] Prevent multiple declarations of the same operation #​21396
  • Add model name mapping option to rust generators #​21282
  • [rust] support model/maps as deep/explode params #​21262

Ruby

  • fix(ruby-client): fix incorrect Date parsing in OneOf #​21364

Scala

  • [Scala] Add enums to scala-http4s-server #​21320

TypeScript

  • fix(typescript-fetch): use type modifier on imports for discriminator.mappedModels #​21397
  • Introduce option 'importFileExtension' to typescript-axios (#​21343) #​21344
  • [typescript] add abort signal to requestcontext #​21323
  • feat(typescript-angular): add util "provideApi" and update docs to standalone applications #​21173
  • fix(typescript-fetch): Use null as a value when the date value is nullable #​21133

v7.13.0: released

Compare Source

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 "Pull Request" tab.

General

  • Fixes so that a oneOf schema with a single sub-schema is simplified #​21043
  • Make the OpenAPINormalizer extensible #​20995

C#

  • [csharp] fix "Simplify 'default' expression (IDE0034)" messages #​21147
  • fix: [csharp] JsonConverter anyOf creates uncompilable code #​21137
  • Check if enum_values exists in the serverUrl [csharp] #​21122
  • [csharp] Process webhook operations #​21082
  • [feat][csharp][unity] Add unity 2019 support and update samples #​21036
  • [csharp][generichost] Fixed string formatted as decimal #​2089
  • Use interfaces for Polly retry policies in C# #​20821
  • [csharp] Add useVirtualForHooks option #​20705

C++

  • Fix associative container on Json values in UE4cpp #​20606

Crystal

  • [crystal-lang] Various fixes for Crystal client #​21045
  • [crystal-lang] Various fixes for Crystal client (2) #​21011

Dart

  • [dart-dio][timemachine] Bugfix: Ensure closing bracket when adding serializers #​20908
  • [dart-dio] Fix the version of the sample dependencies #​20797

Elixir

  • [fix][elixir] wrong typespec generation for all-of with single ref #​21139

Go

  • [go-server] move errMsg helpers to helpers file #​20876
  • fix: Support PathParams not of primitive types for Go in generated tests #​21107
  • [go-server] Moved helper code from router and updated logger for chi #​20823

Java

  • [fix][java]Add missing generated annotation to Authentication.mustache #​21125
  • [jaxrs-cxf-cdi] multipart file upload should only present Attachment #​21124
  • [Java] ApiClient: support deserializing from InputStream instead of String to bypass 2GB Java String limit #​21115
  • [JAVA][FEIGN] Removing hardcoded HTTP Client which is causing performance issues #​21085
  • [Java][Spring] remove 'size', 'page' and 'sort' query params if using 'x-spring-paginated' (#​8315) #​21016
  • [JAVA][spring] Make enum fields final in generated Java #​21019
  • Added HttpClient5 flavour to Java OpenFeign client generator #​21007
  • [java][restclient] Fix model combining properties and additional properties #​20947
  • Fix handling of x-implements for enumeration in java and spring generators #​20778

Julia

  • [julia] better serverside validation code #​21072
  • [julia] fix regex escape on server codegen #​21009

Kotlin

  • [kotlin-client][jvm-spring-restclient] Fix metrics URI templating for RestClient #​21149
  • [kotlin] [multiplatform] [jvm-ktor] Fix formdata file upload #​21056
  • [BUG][kotlin-spring] Fix defaultValue for RequestHeader is not generated #​21003
  • Javalin fixes and validation #​20981
  • Improving Misk Kotlin Server Generator #​20973
  • Add new Misk Kotlin OpenAPI Generator #​2088

nim

  • [nim] Fix nim code generation in case of an endpoint for which schema defines both query parameters and multipart/form-data #​20752

OCaml

  • Add the dependencies in the generated Opam file #​20805
  • Add github workflow for OCaml samples #​20802
  • [OCaml] Fix default optional list #​20789
  • [OCaml] Add key to each model field #​20766

PHP

  • fix(php-nextgen): always return if not void #​21119
  • Add error reporting when handling exception in PHP Laravel #​21023
  • [PHP] - Add range HTTP code support #​20992
  • [PHP] - Add FormDataProcessor to handle nested ModelInterface data #​20990
  • [PHP-NEXTGEN] make allowable values enum getter static #​20820
  • feat(php): drop support for EOLed PHP versions and unify min required version #​17826

ProtoBuf

  • [feat] [protobuf] Improve protobuf generator by adding custom options for api and model files #​21075
  • [feat] [protobuf] Improve protobuf generator with switch useSimplifiedEnumNames #​21052
  • [Protobuf Schema] Map Field Handling in Composed Schemas #​21002
  • [Protobuf Schema] Add Support for Multiple Response #​20989

Postman

  • [POSTMAN] Include response examples #​21073

Python

  • Fix single quote escaping for python code generator (and its test) #​21021
  • [Python] Fix the post processing of string enums #​20976
  • fix(fastapi): use correct impl & package vars on custom user values #​20970
  • Drop python 3.8 support python 3.13 in python generator #​20909

Rust

  • feat: [Rust][client] Add option to use rustls for reqwest instead of openssl #​21001
  • [rust] Fix for allOf multi model with only metadata fields #​20892
  • [Rust-Axum] Allow use of array query params #​20861

Scala

  • [BUG] [scala-sttp] [circe] Generate circe encoder and decoder for inline enumeration #​21028
  • Update scala version #​20953
  • Update sbt version #​20948
  • fix deprecated old sbt build file syntax #​20949

Swift

  • [swift][client] make QueryStringEncodable return any Sendable #​21142
  • [Swift][client] fix parameters encoding #​20934
  • [swift6] Add typed throws to Validation functions #​20903

TypeScript

  • Fix typescript-fetch broken files when mixing basic types and refs in oneOf #​21057
  • Fixes mapValues runtime inefficiency in typescript-fetch #​21047
  • [TypeScript] Avoid warning in TypeScript client generator due to SUPPORTS_ES6 #​21012
  • [typescript] Use static middleware when calltime options exist but specify no middleware #​20985
  • [typescript-fetch] to fix incorrect parsing with additional properties #​20923

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 "Pull 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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot force-pushed the renovate/openapi-generator-cli-7.x branch from 52dfd0a to 01c93eb Compare August 23, 2025 02:35
@renovate-bot renovate-bot changed the title chore(deps): update dependency openapi-generator-cli to v7.14.0 chore(deps): update dependency openapi-generator-cli to v7.15.0 Aug 23, 2025
@renovate-bot renovate-bot changed the title chore(deps): update dependency openapi-generator-cli to v7.15.0 Update dependency openapi-generator-cli to v7.15.0 Aug 31, 2025
@renovate-bot renovate-bot changed the title Update dependency openapi-generator-cli to v7.15.0 chore(deps): update dependency openapi-generator-cli to v7.15.0 Sep 2, 2025
@renovate-bot renovate-bot changed the title chore(deps): update dependency openapi-generator-cli to v7.15.0 Update dependency openapi-generator-cli to v7.15.0 Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant