Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: OpenAPITools/openapi-generator

v7.18.0 released

22 Dec 09:46
5122843

Choose a tag to compare

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

v7.17.0 released

29 Oct 16:28
0120486

Choose a tag to compare

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

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

  • Set REFACTOR_ALLOF_WITH_PROPERTIES_ONLY to true by default (Breaking change (with fallback)) #22180

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

General

  • openapi-normalizer: Add REMOVE_PROPERTIES_FROM_TYPE_OTHER_THAN_OBJECT normalize option #22236
  • Set REFACTOR_ALLOF_WITH_PROPERTIES_ONLY to true by default (Breaking change (with fallback)) #22180
  • OpenApiNormalizer FILTER improvements. Multi filters + filter on path #22128
  • Fix additional properties handling in 3.1 spec #22056

C

  • Update c curl generator to support float #21103

C#

  • [CSHARP] Add cache to efficiently lookup CodegenModel in csharp codegen to make csharp generator faster #22094
  • [CSHARP] Fix how the array type is set when using NULLABLE_REFERENCE_TYPES #22071
  • [csharp][httpclient] do not use deprecated HttpRequestMessage.Properties #20737

Dart

  • [dart] Fix compile error in inline enum properties with "default" values #22165

Elixir

  • [fix][elixir] missing type mapping for AnyType #22081

Java

  • [jaxrs] Support jackson option (true by default) #22169
  • [Java][jaxrs-spec] withXml support #22140
  • Jersey2/3: Fixes a bug in OAuth token renewal, where the previous HTTP 401 code is reused even after the retry succeeds #22134
  • [Spring] Remove unnecessary modifiers from API interface templates #22132
  • Custom error messages for size, length, min & max validations in Spring & Spring-Kotlin #22090
  • Spring 7 WebClient Compatibility #22030
  • [Spring] add support for api versioning #22028

Julia

  • [Julia] Fix docstring parameter formatting with backticks #22190

Kotlin

  • Custom error messages for size, length, min & max validations in Spring & Spring-Kotlin #22090

PHP

  • Expose mtls certificate config params in python and php configuration templates #22229
  • fix(php,php-nextgen): remove useless string cast from ObjectSerializer.mustache #22121

Python

  • Expose mtls certificate config params in python and php configuration templates #22229
  • [python-fastapi] Fix: Skip sorting of path operations #22166

Ruby

  • [ruby] Introduce ApiModelBase to reduce code duplication #22052

Rust

  • [rust-axum] don't include quotes in output string from Display trait for string types #22161
  • [Rust-Axum] Fix wrong validation for non-model Body #22155
  • feat(rust-axum): make the Object value public #22144
  • Removed a duplicate binding for an address for rust-server #22116

TypeScript

  • [Typescript-fetch] Add isBoolean blocks to modelOneOf.mustache #22220
  • [typescript-axios] Add support for AWSv4 Signature #22174
  • fix: typescript docs not being put in a docs directory #22124
  • feat(typescript-fetch): add docs support #22110
  • [typescript-fetch] Fix infinite recursion with self-referencing discriminator mappings #21956

v7.16.0 released

28 Sep 08:29

Choose a tag to compare

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

The community also contributed 3 new generators in this release:

  • [python] add async httpx support Client: Python #22021
  • feat: Add Java Dubbo code generator for Apache Dubbo microservices #21968
  • New generator for Scala3 + sttp4 + jsoniter-scala #21908

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

General

  • Update commons related dependencies to newer versions #21980
  • Correctly annotate Gradle task in- & outputs and enable stricter plugin validation #21957
  • Support normalizing anyof/oneof enum constraints to a single enum #21917
  • feat: add support for minimal-update option in maven plugin #21872
  • Update swagger parser to 2.1.32 #21818
  • Fix bug in ModelUtils.getParentName resulting in wrong inner Models for oneOf-composed schemas #21799
  • [3.1] Fixed lack of check for booleanSchemaValue #21742

Bash

  • [bash] Drop old client.sh from petstore sample #21987
  • [bash] Fix issue where paste command doesn't work on Mac #21986

C#

  • Fix visibility for enum in C# generator #21984
  • [C#] Fixes array TypeDeclaration parsing order to fix deep aliases #21600

Dart

  • [dart-dio][timemachine] Bugfix: saving offset_date_serializer instead of local_date_serialize #21974
  • Add skipCopyWith option for dart-dio #21816

Kotlin

  • fix(kotlin-spring): add missing constructor parentheses for hashmap models #22029
  • [kotlin] Fix enum defaultValue in query parameters with schema reference #22002
  • [kotlin][client] remove old deprecated apis #21988
  • [kotlin-spring][server] Feat: Allow implementation of arbitrary interface in DTOs (similar to x-implements from java-spring) #21950
  • Fix missing @serializable on enums for kotlin/jvm-retrofit2 #21907
  • [kotlin-client] Fix string comparison in discriminator post-processing #21881
  • [kotlin-client] update Kotlin and libraries versions #21866
  • Kotlin Multiplatform polymorphism with custom discriminator support #21772

Go

  • go: Fix missing imports for optional body params #22014
  • feat(golang): support for wrapped and xml name #21899

Java

  • [JAVA] Add vendorExtensions.x-class-extra-annotation to oneOf interfaces #22020
  • [cxf] add support for Swagger2 #22010
  • [java] Fix annotationLibrary option being ignored #21992
  • [Java] [Spring-client] Exclude discriminator from nullable annotation #21981
  • feat: Add Java Dubbo code generator for Apache Dubbo microservices #21968
  • [jaxrs-spec][quarkus] Feat: Add an option to use "org.jboss.resteasy.reactive.RestResponse" #21877
  • [Java] [Spring] Use deduction configOptions for oneOfInterfaces #20919

OCaml

  • [Fix][OCaml] Incorrect encoding/decoding for required free-form objects; Odoc for record fields #21819
  • [OCaml] Generate .ocamlformat file; format all generated OCaml files #21809
  • [OCaml] Introduce support for oneOf/anyOf, fix default value for non-required maps #21798

PHP

  • Fix php-slim4 API key authentication throwing exception #21962
  • Setup void type for PHP Symfony CompilerpassInterface #21808
  • [php] Fixed typing of offsetGet/offsetSet/offsetUnset #21583

ProtoBuf

  • [protobuf] fix generation of enums with UNSPECIFIED values #21774

Python

  • [python] add async httpx (new library option) support #22021
  • [python] api client type checks #21935
  • fix(python): update pyproject.toml license format with poetry1 fallback #21931
  • [python] fix default value when enum is a reference #21923
  • python: feature flag for lazy imports #21885

Ruby

  • fix(ruby-client): Fix incorrect boolean parsing in OneOf/AnyOf #21943

Rust

  • [Rust-Axum] Support AnyOf, AllOf #21948
  • [Rust] Add support for native-tls and rustls-tls Cargo features for the reqwest library #21925
  • [BUG][rust-axum] Fix duplicate route operations when supplying multiple tags on a path with a camelCase param #21873
  • [rust] set useAsyncFileStream only for files in the body #21839

Scala

  • Mark scala-lagom-server as deprecated #21977
  • New generator for Scala3 + sttp4 + jsoniter-scala #21908

Swift

  • [Swift6][client]Make Swift 6 generator stable #21846

TypeScript

  • [typescript-axios]: withSeparateModelsAndApi handles importFileExtension #22032
  • [Typescript] add missing typeRoots config on tsconfig #21824
  • typescript-fetch: Fix model date crash #21821

v7.15.0 released

22 Aug 10:18

Choose a tag to compare

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:

  • [C++] [Client] Added cpp-oatpp-client #21711
  • Add cpp-oatpp-server generator (alpha) #21547
  • NestJS server codegen #21494

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

  • python: Reinstate lazy imports #21486

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

25 Jun 11:43
5eb083e

Choose a tag to compare

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

27 Apr 13:05
4b805ff

Choose a tag to compare

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

28 Feb 04:33
afc27ef

Choose a tag to compare

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

  • fix outer enum number bug #20592
  • fix outer enum string bug #20587

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

20 Jan 14:44
a7240ee

Choose a tag to compare

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

  • [R] fix to-list and to-json functionality #20132
  • [R] improve binary/text response handling #20131

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

v7.10.0 released

18 Nov 11:01
12dfe8f

Choose a tag to compare

v7.10.0 stable release (breaking changes with fallbacks) comes with 100+ enhancements, bug fixes. Once again thank you for all the awesome contributions from the community.

This release comes with 4 breaking changes (with fallback) listed below.

3 new generators are included in this release:

  • Added support for a trait based reqwest Rust client #19788 -g rust --library reqwest-trait
  • [csharp] Add a server generator for FastEndpoints #19690 aspnet-fastendpoints
  • [GdScript] Templates for GdScript (Godot 4) #19267 gdscript

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

General

  • Fix allOf with properties for the REF_AS_PARENT_IN_ALLOF rule #20083
  • Update inline model resolver to flatten responses #19992
  • Fix $ref to allOf in properties #19986
  • Better handling of allOf with unsupported schemas #19964
  • Add logic in normalizer to auto fix self-reference schemas #19849

C

  • [C][Client] Add gcc predefined macros to reserved keywords #19791

C#

  • fix(csharp): Fixed JsonConverter for discriminators only appearing on base classes #19972
  • [csharp][generichost] Better handling of duplicate operation ids #19913
  • [csharp] Address MaxTimeout obsolete build warning #19875 (Breaking change (with fallback))
  • [csharp] Add a server generator for FastEndpoints #19690
  • [csharp] Mustache fully qualify namespace for Path #19349

C++

  • feat cpp-qt-client: fix cast primitive to string #20000
  • Remove further Qt support before Qt 5.15.2 #19824

Dart

  • [PHP/Dart/Python] Correctly escape strings in single quotes #19529
  • [dart2] [client] Added better double handling to 'mapValueOfType' #17808

Erlang

  • erlang-server: add jesse to app.up release #20120

GdScript

  • [GdScript] Templates for GdScript (Godot 4) #19267

Go

  • [BUG][GO] only import reflect when using it #19967

Java

  • Adding support for @ResponseStatus annotation into spring-http-interface java spring generator #20071
  • Add equals and hashCode methods to Microprofile #20011
  • [java] [restclient] Add support for a token supplier to OAuth based RestClient clients #19944
  • [JAVA] fix several anyOf/oneOf problems #19817
  • [Java Spring] Fix copyOf inheritance using empty object instead of passed value #19426

JavaScript

  • [JS] set useURLSearchParams option to true by default, update samples #20003
  • [JS] add parameter 'useURLSearchParams' to use JS build-in UrlSearchParams, instead of deprecated npm lib 'querystring' #19949 (Breaking change (with fallback))

Julia

  • [julia] improve enum support #20016

K6

  • Remove calculateRequestOrder Function and fix bug #19685

Kotlin

  • Bump libraries for Kotlin client #20053
  • kotlin-server: Fix required + nullable combination for properties #20054
  • [BUG][KOTLIN] Fix the path variable escaping in kotlin client generators #19937
  • [REQ] Add x-field-extra-annotation and x-class-extra-annotation for kotlin generator #19899
  • [Kotlin Server] Update Ktor to latest version; move config to kts #19727
  • Fix explicit KSerializer's name & generation when used in container #20093
  • [kotlin][client] do not generate Serializable(forClass) annotation as the serializer is already defined #20092
  • [kotlin-spring] fix Api Interface for kotlin-spring with spring-cloud library #19877
  • [kotlin] Map file and binary to ByteArray #19840
  • [Kotlin] Allow other content-types when only interested in status-code / Unit #19801
  • [Kotlin] Introduce support for Kotlin Explicit API Mode for Kotlin-Client generator #19999

PHP

  • [PHP/Dart/Python] Correctly escape strings in single quotes #19529

Python

  • [python-pydantic-v1] Fix bug in serialization for SecretStr #20102
  • python: stronger typing for the "configuration" module #20014
  • [python] Check if the given input is a container (Array or Map) when validating enum values #19316

Rust

  • [Rust-Axum] Fix compilation error when validate is used on Nullable values #20100
  • [Rust-Axum] Extracting Claims in Cookie/Header #20097 (Breaking change (with fallback))
  • [Rust-Axum] Prevent Operation response with internal Error #20047 (Breaking change (with fallback))
  • [Rust-Axum] Support Authentication (Cookie, API Key In Header) #20017
  • Fix Rust generation for versions without minor or patch parts #19946
  • Added support for a trait based reqwest Rust client #19788

Scala

  • Scala Cask oneOf support #20051
  • [scala][client] scala-http4s minor improvement (enum companion method, remove implicit, error handling) #19901
  • scala-cask fix: Added support for 'additionalProperties:true' #19767

Swift

  • [swift6] promote to beta and improve documentation #19856
  • [swift][client] rename api client to api configuration #20103
  • [swift6] Add Sendable conformance to request parameter enums #20023
  • [swift6] improve retry interceptor #19988
  • [swift5] fix compile error from Alamofire 5.10 - cast Parameter type to avoid recursion #19908

TypeScript

  • [typescript-fetch][Fix] oneOf models are generated without ...ToJSONTyped functions but models referencing still try to import #20046
  • [typescript-axios] Respect User Supplied Header Params #20040
  • fix(typescript): missing override directives / satisfy noImplicitOverride #19896

v7.9.0 released

08 Oct 02:52
4145000

Choose a tag to compare

v7.9.0 stable release comes with 150+ enhancements, bug fixes. Once again thank you for all the awesome contributions from the community.

This release comes with 4 breaking changes (with fallback) listed below.

3 new generators are included in this release:

  • [Scala][Client]Add Http4s scala3 client codegen #19658
  • Add swift6 generator #19621
  • Erlang server overhaul #19465

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

General

  • [normalizer] bug fixes (isNullTypeSchema, handling of primitive types with oneOf) #19781
  • feat(avro)/refactor(core): unify *_POST_PROCESS_FILE behaviour and reuse code #19761
  • Fix anyOf/oneOf normalization for 3.1 spec #19758
  • [OpenAPI 3.1] Avoid NPE when handling prefixItems #19735
  • fix(core): system-independent relative path sorting for FILES output #19726
  • feat(core): add info.summary to additionalProperties for 3.1 specs #19723
  • [windows] Fixed missing output #19715
  • fix(core): single value enums (const) are not generated correctly in 3.1 specs #19696
  • fix(core): nullable array types in 3.1.x specs #19687
  • [BUG] HandlebarsEngineAdapter.java failed to use custom FieldValueResolver causing IllegalAccessException for maps #19634
  • Better handling of parameters in inline model resolver #19460
  • [Gradle plugin] bugfix: openapi code generator to consider schema changes #16735

Avro Schema

  • fix(avro-schema): fix NPE for null enum values #19771
  • [avro-schema] fix: enum logic (sanitize, remove collisions) #19549

C++

  • [cpp-pistache-server] Generated code fails to build with x86_64-linux-gnu-g++-13 #19684
  • [cpp-qt-client] New makeOperationsVirtual option (Breaking change (with fallback)) #19613
  • Implemented missing definitions of declared methods inside modelbase-header.mustache, added two missing body of methods definitions #19569

C#

  • [csharp][generichost] Support formatting date only #19785
  • [csharp][generichost] Fix local var #19642
  • [csharp][generichost] Fix invalid key name #19633
  • [aspnetcore] Fix swagger xml comments #19593
  • [csharp] Version bump dependencies #19545

Dart

  • [BUGFIX][dart-dio] Align enum and enum_inline generation result #19510
  • [BUGFIX][dart-dio] add unknownEnumValue to JsonKey #19416

Erlang

  • [Erlang Server] Add more type information and fix minor bugs #19792
  • Erlang server validation bugfixes and capability extensions #19750
  • Add erlang-server-deprecated for fallback after refactoring #19547
  • Erlang server overhaul (Breaking change (with fallback)) #19465

Go

  • [GO] Go Server: preserve order of the routes as defined in the OpenAPI file #19550
  • [Go] fix regex validation breakage in unmarshaljson function #19410

Kotlin

  • [BUG] Kotlin wiremock query params are incorrect #19720
  • [kotlin-client][multiplatform] add support for kotlinx.datetime.LocalTime #19590
  • [kotlin-spring] fix springdoc dependencies #19579
  • [kotlin] enforce fields in data classes #19526
  • [kotlin-spring][server] fix spring boot configuration conflict #19515
  • [Kotlin] Add a new additional property to configure Jackson's failOnUnknownProperties (Breaking change (with fallback)) #19506
  • [Kotlin][okhttp] replace okhttpclient with callfactory #19422

Java

  • [Java][microprofile] enumUnknownDefaultCase true now returns correctly #19677
  • [Java] [apache-httpclient] Fix issue with toString causing wrong value with collections #19576
  • [Java][Spring]Update dependencies to remove vulnerability in org.springframework:spring-webmvc #19533
  • [Java Jersey] Update ApiClient.mustache Jersey doesn't allow entities in method DELETE #19530
  • [Bugfix][Java] Fixed jersey clients for multiple file upload #19476
  • [Java Libraries] Jakarta Validation API support useJakartaEe flag #19469
  • [Java] Add a new additional property to configure Jackson's failOnUnknownProperties (Breaking change (with fallback)) #19271

JavaScript

  • [Javascript] Add initialization of default vars to constructor #19692

Python

  • [Python] Harmonize python client dependency versions #19694
  • python-pydantic-v1: Return the primitive type in to_dict for anyOf models #19488
  • [BUG][python-fastapi] Updated pyyaml and httptools in requirements template to resolve compatibility issues with Python 3.12 #19666
  • feat(python): handle multiple file parameters #19329
  • fix(python,asyncio): multipart form data serialization #19302
  • [python] fix content_type deserialize #19317

PHP

  • [PHP] By default should use static Configuration class instance #19775
  • [php-symfony] Fix enum not serialized with value like '0' #19568
  • [PHP] Add missing qualifier for enum parameters #1956
  • [PHP] Remove NUMBER_ prefix from enum vars if a name is provided, show enum descriptions #19555
  • [bug] in case of defined status codes > 299 switch will have no effect #19483
  • [PHP-Client] Allow Content-Type merge-match+json for encoding #19479

PowerShell

  • [POWERSHELL] fix: keep array context when converting to json #19535-
  • [PowerShell] Support multiple files in multipart/form-data POST (new functionality + fix) #19449

R

  • [R] Update R6 object documentation #19679
  • [R][client] Make enum parameters with required: false optional to request arguments #19654

Ruby

  • [Ruby-client] Use secuirtyScheme Key for api_key #19740

Rust

  • [rust][client][auth] token source option #19647
  • [Rust Server] Handle arrays in forms #19625
  • rust: Implement Display instead of ToString for enums #19611
  • [Core/Rust Server] Check references in additionalProperties correctly when checking freeForm status #19605
  • [Rust Server] Add derive of Hash to enums #19603
  • [Rust Server] Add auto-generated CLI Client #19392

Scala

  • [Scala][Client]Add Http4s scala3 client codegen #19658

Swift

  • [swift5] rename unknownDefault to unknownDefaultOpenApi #19753
  • Add swift6 generator #19621
  • [swift5] Fix Xcode 16 compilation crash with Extensions.swift generation #19564
  • add oneOf-default-case option for swift5 #19094

TypeScript

  • [Typescript-Node] Mark deprecated endpoints #19770
  • [Typescript-Node] Mark deprecated model attributes #19756
  • style(typescript): use Headers type #19697
  • [typescript-axios] fix: enum datatype jsdoc #19571
  • [typescript-fetch] Fixed issue where unique arrays (sets) of primitive values aren't initialized properly #19521
  • [Typescript] Generate oneOf schemas as type unions #19494

Zapier

  • [zapier] add response middleware #19760
  • Make it easier to specify triggers for Zapier #19645
Morty Proxy This is a proxified and sanitized view of the page, visit original site.