Download Latest Version openapi-generator-cli-7.21.0.jar (31.3 MB)
Email in envelope

Get an email when there's a new version of OpenAPI Generator

Home / v7.18.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-12-22 5.2 kB
v7.18.0 released source code.tar.gz 2025-12-22 51.6 MB
v7.18.0 released source code.zip 2025-12-22 102.1 MB
Totals: 3 Items   153.7 MB 1

v7.18.0 stable release comes with 130+ enhancements, bug fixes. Once again thanks for all the contributions from the community.

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

General

  • feat: prevent variable resolution when prefixed with $ in server URL templates [#22550]
  • Fix siblings of $ref using allOf in openapi normalizer [#22364]

C++

  • fix(cpp-qt): Fix enum query parameter serialization for both inline and referenced enums [#22559]
  • [cpp-rest] Fixes segfault for nullable strings [#22405]
  • Add Basic and Bearer Authorization to the CPP Pistache generator [#22337]
  • Fixes oatpp generator to expose network server on 0.0.0.0 instead of localhost [#22330]
  • [cpp-rest] Fixing Incorrect Header Name Used [#22298]

C

  • [csharp] Patch dependencies with vulnerabilities [#22262]

Crystal

  • fix(generator): fix java.lang.NullPointerException in constructing example code [#22545]
  • [crystal] fix Model#to_h method [#22508]
  • [crystal] Add option to set params_encoder [#22484]
  • [crystal-lang] Various fixes for Crystal client [#22465]

Go

  • [GO] Generate imports for UnmarshalJSON func only when it's present [#22524]
  • fix: missing imports for array of files and date-time parameters [#22390]

Java

  • [BUG][JAVA][Spring] fix Lombok @Getter disables validation [#22544]
  • Fix Spring Framework 7 compatibility in jvm-spring-restclient and jvm-spring-webclient [#22467]
  • [Java] Support JsonNullable in JaxRS-spec [#22412]
  • [JAVA][native] Add support for UnaryInterceptors [#22381]
  • Add support for custom tls server names. [#22372]
  • [JAVA] [NATIVE] Add gzip capability [#22358]
  • [Java] Use Fully Qualified Name for java.util.Locale in Generated Classes [#22342]
  • [JAXRS] Partial revert changing path generation if interface, fixes [#22279] [#22316]
  • [JAVA jaxrs-spec gen] add option for generating swagger V3 annotations [#22300]
  • [REQ-22001] Add MCP server support to apiService.mustache [#22197]

Kotlin

  • fix(kotlin): add JsonCreator/JsonValue to Jackson enums [#22535]
  • [kotlin][client] Deprecate jvm-volley support [#22521]
  • [kotlin] fix query parameter encoding [#22512]
  • [kotlin-client] Vert.x: Fix enum class name template for default operation parameters [#22504]
  • [kotlin] Make API classes open (non-final) unless nonPublicApi is used [#22461]
  • [kotlin-spring][server] Feat: Return from controllers without ResponseEntity wrapper [#22377]
  • Add support for oneOf with discriminator when using kotlinx.serialization [#22373]
  • Fix Kotlin codegen for enum with int items (issue [#15204]) [#22324]
  • [kotlin-spring][server] Feat: Add Spring Declarative HTTP Interface support for easy client instantiation [#22302]

Nim

  • [nim] Nim Generator Fixes [#22385]

PHP

  • [php][php-nextgen] Cleanup api authentication code when using api keys in cookies or supporting multiple authentication methods [#22433]
  • [php][php-nextgen] fix return type if empty and non-empty responses are mixed [#22322]
  • [php][php-nextgen] fix array enum query parameters [#22320]
  • [php] Fix PHP generator validation for nullable required properties [#22292]

ProtoBuf

  • [Protobuf] Add isEnumSchema check in generateNestedSchema [#22384]

Python

  • python-fastapi: avoid log message in constructor [#22522]
  • Make python code compatible with urllib3 v2.6.0+ [#22520]
  • fix: use httpx in generated configuration.py [#22418]
  • [python] Fix pyproject (poetry 2.x) for httpx [#22289]

Ruby

  • [Ruby] Fixes anyOf Support in Responses [#22392]

Rust

  • [rust-server] feat: Add serde_validate support [#22553]
  • Update rust-server Cargo.toml to fix client feature compile [#22511]
  • fix: Rust-server bytes response fixed to not attempt string conversion [#22471]
  • [Rust-Axum] FIX: do not generate Partial Ord/Ord for Any type [#22469]
  • [Rust] Implement support for multipart file uploads for reqwest-async and reqwest-trait [#22454]
  • Ensure rust-server compiles with no-default-features [#22445]
  • Add support for trait mocking in rust-server generator [#22332]
  • Fixups for rust-server hyper1 support [#22321]
  • [Rust-Axum] Fix: incorrect regex pattern validation [#22277]

Scala

  • Fixed scala-sttp4-jsoniter compilation error: replace .getRight with .orFail [#22536]

TypeScript

  • [typescript-fetch]: fix logic when stringEnums is explicitly set to false [#22466]
  • Typescript-Angular: Fix several query parameters serialization issues [#22459]
  • [typescript-rxjs] Feat: Add @deprecated JSDoc tag to API operations [#22419]
  • [typescript-nestjs-server] Fix [#21842] by updating api.module.mustache [#22403]
  • [typescript-node] Fixes generation when parent contains TypeScript primitive [#22401]
  • [typescript] replace headers with same case-insensitive key to match http spec [#22393]
  • [typescript-axios] add support for accept headers [#22318]
  • fix: Format Date/DateTime Query Parameters in exploded, non-container Parameter [#22268]
Source: README.md, updated 2025-12-22