github OpenAPITools/openapi-generator v6.0.0
v6.0.0 released

latest releases: v7.5.0, v7.4.0, v7.3.0...
23 months ago

We're happy to announce the release of v6.0.0 - a major release with lots of enhancements and bug fixes. More than 400 PRs contributed by the awesome OpenAPI Generator community have been included in this release.

For a list of breaking changes, please refer to the following:

For a list of generators/frameworks that have been deprecated/decommission, please refer to this list

General

  • [Inline model resolver] Better support for inline schemas in parameters #12369
  • [Inline model resolver] better handling of inline responses and bug fixes #12353
  • [Inline model resolver] Fix inline allOf in request body #12348
  • [Inline model resolver] various improvements #12293
  • [Inline model resolver] Better inline model resolver to handle inline schema in array item #12104
  • Use LinkedHashMap for deterministic iteration order #12230
  • Configure apiNameSuffix via maven/gradle plugins #12062
  • fix: respect configured generator URL in swagger config #12064
  • Process additionalProperties: true as arbitrary type instead of object #11802

Ada

  • [Ada] Fix typo in final Info message #11914

Android

  • [Android] only support JDK8+ #11917

C

  • [C][Client] Eliminate compiler warnings #12260
  • [C][Client] Free list or map memory when json parsing fails #11866

C#

  • [aspnetcore] Include appsettings.Development.json #12217
  • [csharp-netcore] Add support for byte[] response deserialization #12188
  • [csharp-netcore] Composed primitives support in generichost #11924
  • [csharp-netcore] Fix incorrect FileParameter deserialization #11850

C++

  • [cpp-qt][client] add support for primitives types body #12301
  • [cpp-rest] better handling of property name with special characters #12288
  • [C++][Pistache] Add support for validating arrays, use full namespace type with custom types #12221
  • [cpp-restsdk] Change build folder structure to match include folder structure in installed client #11487

Documentation

  • Add - Status colors in Wiki, Example per parameter #12394
  • Confluence Wiki - Escape special characters #11786

Dart

  • [dart] Bump min dio version to prevent unused import #12354
  • [Dart] jaguar remove in 6.x #10534

Elixir

  • Allow the baseUrl of elixir APIs to be overridden #12268

Go

  • [GO] Fix exception in constructExampleCode with oneOf primitive type #12362
  • [Go] fix oneOf naming #11863

Haskell

  • [haskell-http-client] Update haskell-http-client generator to Aeson 2.x #12309
  • Upgrade haskell-servant to latest LTS #12092

Java

  • [java-micronaut] Allow default implementation to return HTTP 501 #12365
  • Playframework oauth small upgrade #12332
  • [java][resttemplate] avoid StringIndexOutOfBoundsException on empty HttpHeaders #12327
  • [Micronaut] Improvements for Server and Client #12297
  • [java] Add jersey3 support to the Java client #12046
  • Upgrade to Spring Boot 2.6.6/2.5.12 and Spring Cloud 2021.0.1 #12027
  • [java][jersey2] update junit from 4.x to 5.x (major upgrade) #11898
  • [java native] Support arrays in QueryParameters deepObject style #11699
  • Remove JDK7 support from Java Spring generators #11561

JavaScript

  • [JS] Remove ES5 support #12033

Kotlin

  • [BUG][Kotlin-client] Handling default values of parameters #12255
  • [kotlin-server][jaxrs-spec] Remove obsolete imports from API template #11899
  • [kotlin][spring] Rename extension to conform to kebab-case #1189
  • Remove JDK 6, 7 supports in kotlin templates #11560

Perl

  • Fix Perl client header params #11713

PHP

  • [php] Bump required PHP version to 7.4 #12359
  • [php-slim4] Add minimal GitHub Action config #11874
  • [PHP] Fix deprecations in PHP 8.1 #11743
  • [php-slim4] Add lazy CORS implementation #11941

Python

  • [python-experimental] fixes delete endpoint with no body use case #12287
  • [python-flask] Fix mypy error type annotation needed #12272
  • Fix issue with fastapi generator converting all fields to snake_case #12261

PowerShell

  • [PowerShell] better enum model support #12082

Protobuf

  • [Protobuf-Schema] Add enum prefix #11548

R

  • [R] Use snake_case in method parameter names #12390 Breaking change (without fallback)
  • [R] update .Rbuildignore with more files/directories #12383
  • [R] fix warnings in DESCRIPTION #12380

Ruby

  • [Ruby] Add support for faraday 2.x #12112

Rust

  • Better handling of version in Rust client #12284
  • [Rust][Server] Upgrade to tokio v1 #11873

Scala

  • [Scala][sttp] various bug fixes #12254
  • [scala-akka-http-server] model default value when field is not required #12068

Swift

  • [swift5] Abstract away URLSession #12110

TypeScript

  • [typescript-fetch] Support Sets in query parameters (when uniqueItems=true) #12318
  • [typescript*] drop support typescript below 4.0 #12123

wsdl

  • [Wsdl] Adding cli-option for generating different versions of WSDL-files regarding Media type versioning (content negotiation) #12206

Don't miss a new openapi-generator release

NewReleases is sending notifications on new releases.