openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

APACHE-2.0 License

Downloads
51.8K
Stars
20.1K
Committers
3K

Bot releases are visible (Hide)

openapi-generator - v5.3.0 released

Published by wing328 almost 3 years ago

v5.3.0 comes with many bug fixes and enhancements with breaking changes (with fallbacks). Almost 240 PRs (covered more than 20 programming languages) contributed by the OpenAPI Generator community. Thank you.

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General

  • Add snake case lambda #10658
  • Add try-with-resources to unclosed streams #10641
  • Improve version management, update dependencies, remove unused dependencies #10544
  • Fix Windows build failure in some environments #10529
  • Updated model generation, addProps handling moved into type object and anyType handling #10505

Bash

  • Changing from scriptName to x-codegen-script-name to fix dockerfile #10594

C

  • Libcurl CMake adaptations #10249

C#

  • Fix compilation issues in the CSharpOperationTest class #10574
  • [csharp-netcore]For conditionalSerialization do not initialize the default value. #10551

C++

  • [cpp-rest-sdk-client] Serialize boolean parameters as true/false instead of 1/0 #10554
  • [cpp][qt] Start cleanup of cpp qt readme #10549
  • Improve templates for C++ Restbed #10543
  • [cpprestsdk] fix string conversion, add integer enum support #10531

Crystal

  • [crystal] Fix some issues in crystal client templates #10629

Dart

  • Dart: mark jaguar for deprecation #10533
  • [dart] json_serializable: remove experimental generator #10532
  • [dart][dio] Respect import-mappings parameter #10528
  • [dart-dio-next] Adds an option for using the dio_http package Client: Dart Enhancement: Feature #10497

Elm

  • [elm] fix for invalid code being generated for enums #10328
  • [bugfix][Elm] Fix template when response schema is Map #10310

Go

  • [go]: fix anyOf compilation error #10431
  • [go-server] Fix: param names clash with variables, added suffix #10243

Haskell

  • [haskell-http-client] add ability to choose additional characters in querystring which should not be encoded (e.g. "+" or ":") #10424

HTML

  • Updated the HTML2 Doc Curl Examples to provide sample Request Body & Query Param examples #10323

Java

  • [java][jersey2] update dependencies #10659
  • Improve Apache Httpclient support #10624
  • [Java][Feign] Add http status to feign result #10583
  • [Java][RestTemplate] Fix RestTemplate not handling ApiKey in cookie #10578
  • [java][jersey2] use implementation, add min version of maven, gradle in the README #10571
  • [java] Update Gradle to 7.2 #10538

K6

  • [ K6 Generator ] Support for extracting examples defined at parameter level of Swagger/OpenAPI specification, plus minor fixes #9750

Kotlin

  • Fix kotlin enum default value #10592
  • Kotlin multiplatform updated to fit future Kotlin 1.6.0 release #10468

PHP

  • [PHP] Update GuzzleHttp version to 7 #10585
  • [php] fix 'mixed' invalid for settype() #10576
  • [php-slim4] Migrate PHPUnit config #10230

PowerShell

  • Add decimal support to the powershell generator #10486

Python

  • [Python] fixes setitem throwing an error for composed instance #10197
  • Python client - fixes boolean enum use case #9926

R

  • Add decimal support to R client generator #10487

Ruby

  • Ruby: Fix deprecation warning for Faraday #10559
  • [REQ] [RUBY] [FARADAY] Allow middleware to be configured #10495

Rust

  • Fixes doubles type as &str&str for type:string; format:uuid parameter #10569

Scala

  • fix: don't send just " " in body, send an empty string #10561

Swift

  • [swift5][client] add support for async await #10442

TypeScript

  • [typescript-axios] Update to Axios 0.23.0 #10626
  • fix(NestJS): use correct typing for default headers #10616
  • [typescript-axios] Fix invalid query params usage #10512

WSDL

  • [wsdl] string comparison bug fix, minor format change #10446
  • [Wsdl] Handle schema property of type array with oneOf items and other minor updates/fixes #10434
openapi-generator - v5.2.1 released

Published by wing328 about 3 years ago

v5.2.1 release comes with 2 new generators:

Thanks for all the contributions from the OpenAPI Generator community.

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

C

  • [C][Client] Allocate memory for the element of array when the type is number #10124

C#

  • [csharp-netcore] Fixed the utc time issue for httpSigning auth #10139
  • [csharp] Obsolete attribute on deprecated operations and properties #10084

C++

  • [cpp-pistache-server] Fix missing semicolon in template and missing code to set default values of model schema #10136
  • [cpp-ue4] Added support for bool in URL parameters, now writes true/false #9951

Dart

  • [dart][dio] Nullable parameters & defaults for header/query parameters #10147
  • [dart-dio-next] Don't use encodeCollectionQueryParameter on maps #10116
  • [dart-dio] Fix parameter generation problems #10061

Elixir

  • [Elixir] Adding :package and :description to mix.exs template #9945

Erlang

  • [erlang-server] Dialyzer spec #9983

Go

  • [go-server] Feat: add required assertions to models #10068
  • [go] More idiomatic godoc comments #10044

Haskell

  • Haskell-http-generator - Make endpoints which don't return anything yield NoContent #9916

Java

  • [BUG][Java] Fix a race condition in RetryingOAuth.mustache #10087
  • Add support for Micronaut Client #10063
  • [Spring] Use fully qualified name for Pageable #10045
  • [jaxrs-resteasy] fix java8 datetime issue #10014

Kotlin

  • Add AnyType support to Kotlin generators #10070
  • [Kotlin][Multiplatform] Add missing JVM dependency #10051

PHP

  • Make php's array primitive #10093
  • [PHP] Deprecated annotation on operations and fields #10085
  • [PHP] New client generator php-dt #10041

Python

  • [python-flask] Fix NoneType when deserialize optional date #10081

Ruby

  • [Ruby] Add new Ruby versions to the Travis CI build matrix configuration #9971

Rust

  • [rust-client] Fix typo related to the form parameters #10096

TypeScript

  • Typescript-angular: Added missing semi colon to interface file #10121
  • [typescript-fetch] Add initOverrides #10050

Swift

  • [swift5 client] fix filename for binary downloads #9989
openapi-generator - v5.2.0 released

Published by wing328 over 3 years ago

v5.2.0, containing breaking changes with fallbacks, has been released with bug fixes, enhancements and 3 new generators:

  • cpp-tiny
  • python-fastapi
  • wsdl-schema

Please give these a try let us know if you've any feedback.

The release comes with 190+ PRs contributed by the OpenAPI Generator community. Once again, we would like to thank all contributors for their contributions.

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General

  • Better null check to surpress SonarCloud warning #9888
  • operationId: Allow getting only the method name #9724
  • Avoid using Properties.clone() which is broken in Gradle plug-in #9653
  • Adds isShort + isUnboundedInteger to IJsonSchemaValidationProperties implementers #9519
  • Fix Gradle Plugin ValidateTask not working under Gradle 7.0 #9453

Android

  • [Android] update httpclient version, fix compilation issue in the sample #9728

Bash

  • [Bash] Fix matching of header parameters #9370

C

  • [C]: Fix enum values #9537

C#

  • Conditionally apply serialization on certain properties #9807
  • [aspnetcore] avoid empty string enum value in the option #9501
  • [csharp][httpclient] Introduce FileParameter as an abstraction #9426
  • [csharp][netcore] Handle Deserialization Asynchronously #9424

C++

  • [C++][pistache] string enum code generation improvement #9786
  • [cpp-ue4] API calls not return the http request for further manipulation #9693
  • [cpp-restsdk] Update json double/float parse #9577
  • [cpp][tiny] rename generator, update samples #9560
  • [C++] Rename Qt5 to Qt #9490 Breaking change (with fallback)
  • New generator | Arduino cpp #9489

Crystal

  • [crystal][client] Support authorization #9488
  • [crystal] Update crystal version 1.0.0 (from 0.35.1) #9477

Dart

  • [dart][dart-dio] Add support for query collection parameter format #9635
  • [dart][dart-dio-next] Improve support for file uploads #9542
  • [dart] Improve content-type handling #9517

Erlang

  • Fix regex in Erlang by removing the delimiter #9892
  • [erlang-server] minor bug fixes #9784

Go

  • [go-server] Add go-chi generator to go-server via a router property #9748
  • [go-gin-server] add PATCH method support #9662
  • [goserver] Fix single inheritance code generation for goserver #8356

Haskell

  • [BUG][Haskell] Fix returning NoContent #9830
  • [haskell][server]: Set "AnyType" to Aeson.Value #9733

Java

  • [Java] [Native] Unify exception messages for async, add the status code #9825
  • [Java][Feign] Skip oauth-related files when the spec has no oauth defined #9760
  • Hide buildOauthRequestInterceptor under isOAuth section #9736
  • [Java][WebClient] add ResponseEntity return for webclient #9327

Kotlin

  • Add support for generating a Set for a list with uniqueItems set to true #9849
  • [Kotlin Multiplatform] Update and fixes for Kotlin 1.5.10 and Kotlinx.serialization 1.2.1 #9755
  • [kotlin][client] fix Android crash on API level 25 and bellow #9578
  • [Kotlin][retrofit2] replace okhttpclient with callfactory #9451
  • [Kotlin] Allow optional header parameters with Kotlin and retrofit2 #9306

JavaScript

  • [JS][Flow] Better code format, update samples #943
  • [Javascript-Flowtyped] Handle joining uniqueItems in api template #9417

PHP

  • [php-mezzio-ph] PHP 8 support #9445
  • [php-slim4] Decouple Slim4 codegen from Slim3 #9208

PowerShell

  • [PowerShell] Improve generated PowerShell examples #9836

Python

  • New python-fastapi generator #9611
  • Fix python generation when custom files and templates are specified #9572
  • [python][client] allow passing floats for request timeout #9532
  • [python] readonly constructors #9409
  • [python] Fixes additional_properties_type for models #8802 Breaking change (with fallback)

R

  • Add support for Boolean in R client generator #9469

Rust

  • [rust-client]: fix reqwest not support client::options #9745

Scala

  • [Scala] better code format #9463
  • [scala][client] invoker package enhancement #9381

Swift

  • [Swift5] support Vapor 4 client library #9625
  • [Swift5] namespace changes #9624
  • [Swift5] Add useClasses cli option #9608
  • Add hashableModels to additional properties #9495
  • [swift5][client] make AnyCodable optional #9479
  • [swift5] Map file and binary to Data #9419
  • [swift5][client] add option to generate or not the model additional properties #9375
  • [swift5] Add support for oneOfs #8714

TypeScript

  • [typescript-fetch] Support for async accessToken #9659
  • Typescript: add paramPropertyNaming #9546
  • [typescript-axios] properly mark 'deprecated' routes in #9505
  • Add OAuth2 to typescript template #9466
  • [typescript] Fix uncompilable output when using allOf #9275
  • [Typescript Fetch] New optional mode with redux saga & immutablejs (saga & records) #8578

WSDL

  • New generator: WSDL #9545
openapi-generator - v5.1.1 released

Published by wing328 over 3 years ago

v5.1.1 is a patch release with enhancements, bug fixes covering 15+ programming languages. As always, we appreciate the contributions from the awesome OpenAPI Generator community. In this release, we've added a new go-echo-server generator.

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General

  • [Enhancement] added support for custom type & format mapping #9285
  • [Docker] support multi-arch build #9246
  • Gradle plugin - @Input and @Internal should not be apply on the same property #9059
  • [core] Allow using lists as globalProperty in config files #8339
  • Add executionId to filehash in OpenAPI Generator Maven Plugin #7848

Bash

  • [bash] Update Bash Client Dockerfile.mustache #9310
  • [Bash] escape tabs properly #8970

C#

  • [csharp-netcore][httpclient] Issues managing error statuses #9389
  • [csharp][netcore-httpclient] Refactor of constructors: removed obsolete attribute #9373
  • [C#][netcore] Add multiple frameworks support #9196
  • [C#] fix integer enum without format #9136
  • [csharp][netcore-httpclient] Reuse HttpClient, Allow use of external HttpClient, Fix Socket Exhaustion, Alternative With Constructor Injection #9085
  • [csharp][aspnetcore] Fix FileUpload Parameter Generation for aspnetcore #9000

C++

  • [cpp-ue4] Improved retry system to use Unreal's FHttpRetrySystem #9382
  • UE4 - Support FGuid with in/out Helpers #9291
  • C++ Qt5 support date format enum #9283
  • Include QVariant helpers header #9161
  • [C++] remove pthread from CMakeLists.txt #9130

Dart

  • [dart][dart-dio] Add built_value date support w/o timemachine #9180
  • [dart] Improve types & imports #9167
  • [Dart2] Add initial support to use an isolate to offload JSON serialization/deserialization #9100
  • [Dart] Use interrupted exception instead of just exception #9092

Go

  • Add Go echo server codegen #9224
  • [Go][server] parse bool in query parameter #9171
  • [Go] Parse int arrays and respect the 'required' property #9120
  • [go] Add constructor and IsValid method to enum types #8224

Java

  • [java][okhttp] Default Java client to Java 8 instead of Java 7 #9344
  • [Java][Spring] Different in-parameter types generated for api and delegate for binary (application/octet-stream) #9331
  • [Java][JavaJaxRS] Respect readOnly/writeOnly attribute markers #9276
  • [Java] [Native] Add response body to exception message #9169
  • [BUG] Java (jersey2) ApiClient debug cannot be enabled #8756
  • [JAVA][jaxrs-spec] Added custom methods to add/remove elements from java collections #6468

Javascript

  • Use prepare script instead of prepack in Javascript package.json #7807

Kotlin

  • [Kotlin] Make ApiClient in jvm-retrofit2 be able to add additional retrofit Converter Factory #9316
  • Kotlin jvm-retrofit2: Add missing ResponseBody import for binary responses #9239
  • [Kotlin] add BigDecimal, BigInteger support #8880

Nim

  • [nim] camelize names #9255

PHP

  • [php-symfony] remove nested Valid constrain #8994
  • [PHP] Fix parentSchema conditional causing parent call when parent isn't present #8705

PowerShell

  • [PS] minor improvements to the auto-generated appveyor.yml #9300
  • [PowerShell] improve return type documentation #9295

Python

  • [Python] Fix exclusive min and max #9340
  • Fixes serialization of array items in model_to_dict [python] #9153

Ruby

  • Dockerfile for the Ruby-Sinatra generator #9299
  • [Ruby] postpone require models with parent #9103

Rust

  • [Rust] Add enum suffix support #9107
  • [rust-server] Update templating docs to correct the name of x-response-id #7839

Scala

  • [Scala][Akka] Use Files.createTempFile to address security concerns #9348
  • [scala-akka-http-server] allows generation of managed sources only #9012

Swift

  • Swift5 models improvements #9205
  • Add Hashable for Struct #9166
  • [swift5] Add useSPMFileStructure #9074

TypeScript

  • [typescript-axios] add missing baseName for array params #9273
  • typescript-angular: Fix Cannot read property 'apiKey' of undefined #9260
  • Resolve response type name conflict in angular typescript lib #9216
  • Resolve responseType name conflict in Angular Typescript lib #9202
  • [typescript-angular] Provide return value for all code paths #9176
  • [typescript-axios] handle uniqueItems in query and header parameters #8965
openapi-generator - v5.1.0 released

Published by wing328 over 3 years ago

v5.1.0, the first minor release after the v5.0.0 major release, contains breaking changes with fallbacks, security fixes, new generators and more. For a full list of changes, please refer to https://github.com/OpenAPITools/openapi-generator/pulls?q=is%3Amerged+is%3Apr+milestone%3A5.1.0+

Below are some highlights of the changes:

General

  • Adds getAdditionalPropertiesIsAnyType to java schema classes #8908
  • Correct use of loggers with placeholders and remove some redundant operations #8842
  • [maven plugin] fix security issues #8795
  • [online] use Files.createTempFile to address security concerns #8788
  • Add an option to skip operation examples #8731
  • [Gradle Plugin] Allow to set additional property of any type. Useful for Boolean values #8507

Documentation

  • Use Files.createTempFile in asciidoc generator tests if possible #8794

Android

  • [android][volley] various improvements #8968

C

  • [C][Client] Generate API and module documents automatically #8981

C#

  • [C#][netcore] Call static method without creating instance #8889
  • [csharp-netcore] Make Blazor Webassembly compatible #8876
  • [C#][netcore] update dependencies to newer versions #8872
  • [csharp-netcore] Fix handling of Dictionary query parameters and fix deepObject style parameter handling #8848
  • C# Netcore WebRequest and HttpClient functionality #8821
  • Add ASP.NET Core 5.0 support #8717
  • [aspnetcore] Improve model inheritance support by including JsonSubTypes to properly handle serialization #8384

C++

  • [C++][Qt]Replace usage of QVariant with a more intuitive optional wrapper #8960
  • Fix not processing enums in cpp-pistache-server #8886
  • Qt client handle deprecated #8766
  • [cpp-qt5-client ] Improve CMake #8724
  • [Qt5][C++] Adding Parameter Styling Support for Qt5 #8587

Dart

  • [dart][dart-dio] Next-gen dart-dio generator #8869
  • [dart][dart-dio] Lower upper bound for built_value #8947
  • [dart] Fix api client deserialization for json_serializable #8882
  • [dart][dart-dio] Nullable support/improvements #8727 Breaking change (with fallback)
  • [dart][dart-dio] Raise min Dart to 2.7.0 & update built_value constraint #8684

Erlang

  • [Erlang][Client] better code, update sample #8853

Go

  • [Go] bug fix (breaking), minor code format enhancement #8715
  • [GO] Add additional AWS v4 signature config options to go client generator #8706
  • [REQ] [GO] Added enumClassPrefix option to go-gin-server #8681
  • Fix generated go client cannot upload file #8393

Flash/ActionScript

  • Remove flash templates #8741

Java

  • [JaxRS] Fix ambiguous dependency #8923
  • Changed virtualan version from 1.0.0 to 2.1.7 #8910
  • [Java] use Files.createTempFile instead #8787
  • Update jackson dependencies to address security issues #8778
  • [Java][Client] JSON-B serialization support #8729
  • [webclient] bug fix to double URL encoding #8660
  • [java native][dotnetcore] Implement QueryParameter deepObject style #8563

JavaScript

  • Make JS client case sensitive wrt. reserved words #8905
  • [JS] the replace statement in parseDate is too greedy #8633

JMeter

  • [JMeter] fix header parameter naming #8861

Kotlin

  • [Kotlin][Client] create request config method #8617
  • Replace deprecated import for kotlin Parcelize annotation #8590

OCaml

  • [OCaml] Fix enum returnType in of_json.mustache for Api Impl #8631

Perl

  • [Perl] minor improvements #8967

PHP

  • [PHP] Use a valid php type for maps #8718

PowerShell

  • [REQ][PowerShell] Add additional reserved words list for parameter name in PowerShell #8935

Python

  • [python][template] move _path_to_item of simple init to avoid name error #8737

Ruby

  • [ruby] Fix syntax error #8675

Rust

  • [Rust Client] several small fixes to code generation errors #8845
  • Rust: Add support for lists (and sets) of enum values #8693
  • [rust client] upgrade reqwest crate to 0.11 #8603

Scala

  • [Scala][Finch] use Files.createTempFile to avoid potential security issues #8791

Swift

  • Fix for StackOverflow in Swift5 CodeGeneration #8672

TypeScript

  • typescript-nestjs: removed unused basePath from api.service template #8811
  • [typescript-axios] Support array query arguments #8772
  • [typescript-fetch] handle uniqueItems correctly in model and api #8695
  • typescript-node: Fixed models.mustache with for...in on an empty array #8575
openapi-generator - v5.0.1 released

Published by wing328 over 3 years ago

v5.0.1, the first patch release after v5.0.0 major release, comes with 2 new generators: crystal client generator and ktorm-schema generator.

For a full list of changes (150+ PRs), please refer to the Pull requests tab

Below are some highlights of the changes:

General

  • Adds hasValidation to all java core Schema classes #8474
  • Adds isNull to codegenX java core classes that represent schemas #8462
  • To fix model selection using ":" as the separator #8388
  • Update maven wrapper #8305
  • Tweak regexp in underscore method #8230
  • Make frequently used IO resources autoclosable #8181
  • Remove servers urls with trailing slash #7940

Crystal

  • Add a new crystal client generator (beta) #8304

C

  • [C][Client] Fix the memory leak when a JSON of model fails to parse #8390
  • [C][Client] Disable escaping the parameter name in URL path string #8243
  • [C][Client] Add C++ reserved keywords to C-libcurl client generator #8205

C#

  • [csharp-netcore] add .Net 5.0 support #8467
  • Style fix: use correct package name in tests #8451
  • [csharp-netcore] Fixed ApiClient code generation not respecting modelPackage settings #8272
  • Fix csharp-netcore enum var name underscore and space handling #8213

C++

  • [Qt5][C++] Fixed QByteArray::toUtf8 with FILE as request body #8550
  • [Qt][C++] Updated cpp-qt5-client doc #8251
  • [Qt5][C++] Removed deprecated functions to support Qt6 #8234

Dart

  • [dart][dart-dio] Improve API & API-Client field initialization #8589
  • [dart][dart-dio] Add missing isRedirect parameter to response #8588
  • Add getters for private default Headers and authentications #8509
  • [feature][dart] Add support for uniqueItems/sets #8375
  • [dart][dart-dio] Generate the correct serializers #8357
  • [dart][dart-dio] Add missing imports for container parameters #8355
  • [dart][dart-dio] Fix collection and date default values not compiling #8306
  • [dart][dart-dio] Enable strong-mode and strict types #8231
  • [dart-dio] Serializes request bodies using a specific serializer #6384

Documentation

  • [cwiki] Added Enum documentation and fix newline problem for description #8338

Elixir

  • Add .t in spec generation of Elixir structs #8159
  • [Elixir] Adds workaround for httpc for post/put/patch requests #5682

Elm

  • Fix bugs with duplicated data type #8223

Go

  • [Go] Fix response body #8439

Java

  • Upgraded dependency versions in Java (okhttp) client generator #8604
  • Bumped Vert.x template to Vert.x 4 GA #8528
  • Remove supportJava6 option #8514
  • [Java][Client][Vertx] Use Vertx reference instead of static class in ApiImpl template #8501
  • [Play Framework] Update the bean validation to use version 2.0 #8354
  • [Java] fix generation for JavaTimeFormatter #8348
  • Javadoc + operations interface + provider for state(ful/less) handlers #8346
  • Spring codegen - fix equals and hashCode methods for byte array and binary #8345
  • [JAVA][Feign] Replace Apache oltu with scribejava #8318
  • Implement useAbstractionForFiles for webclient library #7567

JavaScript/NodeJS

  • --http-user-agent arg support in javascript generator #8531

JMeter

  • [JMeter] Support json data in csv #8461
  • [Jmeter] Support securityDefinitions #8459

Kotlin

  • [kotlin] fix Date types usages #8594
  • [Kotlin-Spring] Fix properties default value #8373
  • [Kotlin-Spring] Fix required model property deserialization #8337
  • [Kotlin-Spring] Fix optional requestBody with delegate #8299
  • Add Ktorm schema generator #7759

Nim

  • [Nim] test the petstore client in drone.io #8466
  • [Nim] bugfix for the case when path contains multiple parameters #8402

PowerShell

  • [PowerShell] minor fix to API doc #8496
  • [powershell] Fix fields null check in powershell model template #8323
  • [powershell] Fix error message templates for some field names #8321
  • Implement optional powershell verb parsing #8252

Python

  • Removes nulltype from python, updates samples #8555
  • [PYTHON] use customized default Configuration() objects if available #8500
  • [feature][python-flask] Add CORS support to python-flask server #8472
  • [python] Fixes file upload + download, adds tests #8437
  • [PYTHON] use _Endoint to allow apis to have Endpoint #8405
  • Fixes object serialization when there is an inline array property which contains a refed enum #8387
  • Stackoverflow in toExampleValue() for python client #8326

R

  • Fix auto-generated R doc #8584

Ruby

  • [ruby] Support aliasing of API keys #8124

Rust

  • Fix handling of 1xx and 3xx in Rust Reqwest #8574
  • [Core, Rust Server] anyOf / oneOf support for Rust Server #6690

Scala

  • Renamed basic authentication function in sttp client #8396

Swift

  • [swift5] URLSession: Fix memory leak of SessionDelegate #8558
  • [swift5] Fix request closure not being called #8537
  • [swift5] Fix target SDKs for Combine option #8476
  • [Swift 5] fix XcodeGen deploy target to match cocoapods #8279
  • [Swift 5] fix Multipart FormData encoding, add support for Form encoding #8275

TypeScript

  • Add typescript-nestjs client generator #8522
  • [typescript-axios] bump axios version to 0.21.1 to fix vulnerability #8445
  • typescript-fetch: fix isCollectionFormatMulti for arrays of files #8376
  • typescript-angular: add providedIn for Angular 9+ #8324
  • [typescript(experimental)] fix for Deno v1.6 #8265
openapi-generator - v5.0.0 released

Published by wing328 almost 4 years ago

We're happy to announce the release of v5.0.0 - another major release with lots of enhancements, new generators and bug fixes. More than 1000 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:

Here are some new generators added to the v5.0.0 release:

  • C++ UE4 client generator: cpp-ue4
  • A rewritten TypeScript client generator supporting fetch & jquery: typescript
  • A Plantuml generator for creating a schema diagram: plantuml

Here are some generators that have been refactored:

  • dart
  • dart-dio
  • elm
  • go
  • java (jersey2)
  • php-ze-ph => php-mezzio-ph
  • powershell
  • python

To view the enhancements, bug fixes for a particular generator, please go to the list of changes and apply "Label" to filter out changes accordingly.

openapi-generator - v5.0.0-beta3 released

Published by spacether almost 4 years ago

5.0.0-beta3 is the last beta release before the v5.0.0 major stable release scheduled next month (Dec 2020). Thanks again for all the awesome contributions from the openapi-generator community.

Full list of changes (including breaking changes with or without fallback)

Below are the highlights of the changes.

General

  • Add "decimal" support #7808 Breaking change (with fallback)
  • Adds additionalProperties to core schema classes #7761
  • Changes lingering isMapContainer to isMap #7747 Breaking change (without fallback)
  • Unifies naming for isArray in Schema class properties #7691 Breaking change (without fallback)
  • Adds isDateTime to CodegenModel #7657 Breaking change (without fallback)
  • Adds isDate to CodegenModel #7652 Breaking change (without fallback)
  • Unifies naming for isMap in Schema class properties #7640 Breaking change (without fallback)
  • Fix scopes generation for multiple oauth flows #7615
  • Expose batch subcommand #7608
  • Replace deprecated methods #7600 Breaking change (with fallback)
  • [bug][maven] Fix custom windows classpaths in maven plugin #7587
  • [core] Enable multiple oauth2 flows #7570 Breaking change (with fallback)
  • [maven] environmentVariables -> globalProperties #7559
  • [batch] Option to clean files before generation #7465
  • [core][feature] User custom added templates #7366 Breaking change (with fallback)
  • [core] Add model cache to speed up code generation #7250
  • Removes secondaryParam and hasMore #7882 Breaking change (without fallback)

Ada

  • [BUG][Ada] Incorrect client Ada code generated #7719

Apex

  • Updated keywords to be aligned with the official ones #7522
  • [Apex] better handling of different content-type in the response #7515

C

  • [C][Client]Fix coredump in multi-thread environment #7835
  • [C][Client]Support data callback function #7467

C++

  • [cpp-restbed-server] make the restbed SERVER generator more extensible #7679
  • [cpp-ue4] add support for Content-Type containing charset #7379

C#

  • [C#] support .NET framework 4.7 #7833
  • [C#][netcore] Add anyOf support #7801
  • [C#][netcore] Rename HTTPSigningConfiguration.cs to HttpSigningConfiguration.cs #7630
  • [C#][netcore] Add discriminator support to oneOf lookup #7626
  • [C#][netcore] Add oneOf support to C# .NET Core client #7607
  • [C#][netcore] Default OverrideSpecifiedNames to false #7583 Breaking change (with fallback)
  • [Aspnetcore] use the term openapi #7540 Breaking change (without fallback)
  • [C#][NetCore] add multi-server support #7433
  • [C#][netcore] better support for additional properties in the payload #7396
  • [C#][Nancyfx] fix incorrect import #7907

Dart

  • [Dart] map AnyType to Object #7822
  • Upgrade Dart2 template to advertised best-practices, plenty of additions too #7585
  • [Dart][Client] Fix default value of enum variables #7496
  • Adds cookie auth support to ApiKeyAuth in dart2 templates #7346

Documentation

  • [Core, HTML2] Rendered docs are incomplete #7510
  • [cwiki] Path parameter generation fix for split rows #6894

Elixir

  • [Elixir] Fixes optional body mapping #7606
  • [Elixir] Fixes Typespec for multiple return definitions #7604

Go

  • [go] Improve examples generation #7576
  • [GO][SERVER] Implement response code #7397 Breaking change (without fallback)
  • [Go] minor format change, deprecate "withGoCodegenComment" option #7375 Breaking change (without fallback)

Haskell

  • [haskell-http-client] have applyOptionalParemeter (-&-) append values in headers or querystrings instead of replacing values #7805

Java

  • [JAXRS-CXF] Improve handling of additional properties #7866
  • [Play Framework] Update Play Framework Generator to latest version #7860 Breaking change (without fallback)
  • [java][jersey2] add proxy support #7752 Breaking change (without fallback)
  • [java][groovy] Fix mangled src paths in some outputs on Windows #7487
  • [Java][vertx] Use typeMapping instead of postProcessParameter #7457
  • [Play Framework] Fix the configuration package #7391
  • Update Vert.x Web template to Vert.x 4 #7364
  • Fix multi-part binary form parameters for jaxrs-jersey templates #7363
  • [Java][Native] Support oneOf/anyOf schemas #7263
  • [Java][Spring] Add Spring pagination with vendor extension x-spring-paginated #5022
  • [bug][Java] Honor instantiationMap for default values for array, map, set #4982

JS/NodeJS

  • [javascript-flowtyped] Fix Flow error #7786
  • [JS] Allow auth.accessToken to be either function or string #7484

Kotlin

  • [Kotlin] Fix Spring Kotlin generation of array/map models #7829
  • [kotlin] Fix optional header params in openhttp client #7341
  • [kotlin] Fix imports of generated class #7314

ObjC

  • Update of Objective-C model-body.mustache to support discriminator.mappedModels #7471

OCaml

  • Replace '.' characters by '_' in enum type names since OCaml doesn't allow to use '.' in any kind of identifiers #7767
  • [Ocaml] Fix missing space on models #7742

PHP

  • [php] Implement JsonSerializable in php Model class #7768
  • Small tweaks for php generator, PHPStan level 3, Psalm level 7 #7616
  • [PHP] Small tweaks for php generator, PHPStan level 1 #7528
  • Tweaks for php generator, based on issues reported by PHP static analysis tools (PHPStan) #7376

PowerShell

  • [PS] Add proxy support #7739
  • [PowerShell] Fixed the empty string issue when server returns null #7633
  • [PowerShell] Fixed the maximum minimum range check condition #7482
  • Fix the ECDSA signature issue for PowerShellSDK #7386

Protobuf

  • [Protobuf] Fix support for AllOf in protobuf-schema #7813

Python

  • [python] Renames python generators #7965 Breaking change (with fallback)
  • [python] add socket_options to configuration for the rest client #7795
  • [python] Add option to return None instead of raising exception when accessing unset attribute #7784
  • [python-experimental] implement in operator for model classes #7637
  • Add option to set recursion limit #7491
  • [Python] correct return types if multiple responses are defined #7427 Breaking change (with fallback)
  • Adds free form model generation in python-experimental #7373
  • Subclass Python exceptions #7321

R

  • feat(r): retry configuration for status codes #5925

Ruby

  • [Ruby][faraday] fix response streaming #7734
  • [Ruby] Replace DateTime with Time #7656 Breaking change (without fallback)
  • Update default ruby, faraday versions #7538
  • [ruby] Support for per-operation servers #7415

Rust

  • Add impls for Error trait for Rust reqwest #7462
  • Fix Rust codegen for AnyType #7461
  • [rust-server] Fix server example on non-Linux #7399
  • [Rust][reqwest] Fixed parameters of Array type #7049

Scala

  • Better decimal support in Scala generators #7876
  • Update junit to newer version (4.13.1) #7690
  • Fix scala-sttp enum generation #7432

Swift

  • Add AnyType support to Swift generators #7644
  • [Swift5][URLSession] Fix handling of customHeaders between retries #7527
  • [Swift5] fix issues causing stack overflow #7301

TypeScript

  • typescript-angular: Angular 11 support #7937 Breaking change (with fallback)
  • [typescript-rxjs] Added support for servers #7771
  • [TYPESCRIPT-ANGULAR] Add configurationPrefix option #7731
  • [typescript-inversify] bug fix for array type #7636
  • [typescript-axios]: Only call JSON.stringify on JSON request bodies #7580
  • [typescript] Fix generation of enum models #7529
  • [typescript-axios] replace optional-chaining #7476
  • [typescript] Fix incorrect enum literal case #7378 (Breaking change (with fallback)
openapi-generator - v5.0.0-beta2 released

Published by wing328 about 4 years ago

5.0.0-beta2 is a pre-release before the v5.0.0 major stable release scheduled in Q3/Q4 this year. Thanks again for all the awesome contributions from the openapi-generator community.

Full list of changes (including breaking changes with or without fallback)

Below are the highlights of the changes.

General

  • Adds generator unaliasSchema method, uses it to refactor python-experimental #7274
  • [core][bug] FILES is now path relative with no prefixes #7271
  • [bug][core] Copy all attributes (not properties) on composed schemas when flattening models #7106
  • fix: update base image to maven supported #7001
  • Add 'x-generate-alias-as-model' extension to allow enabling generating alias as model per-schema #6937
  • [core] Add x-is-free-form vendor extension #6849
  • [core] Add type and format properties to model of inline response #6153
  • [online] Fix for version conflicts with springfox/boot #7102

Arvo

  • [Avro] Default value for no required fields to null #7006

C

  • [C][Client][Clang Static Analyzer] Remove the useless free operation for buffContent #7309
  • [C][Client][Clang Static Analyzer] Fix uninitialized argument value #7305
  • Fix a missing return in the C client sslConfig_create function #7217
  • C-Libcurl client: fix enum model generation #5604

C#

  • [csharp-netcore] Adding ConfigureAwait(false) using async methods call #7234
  • [ASP.Net Core] Better wordings for 'classModifier' option #7233
  • [C#][csharp-netcore] Improvement to standard code format #7206
  • Update csharp-netcore dependencies to the latest stable version #7194
  • [csharp-netcore] added cancellation tokens to async calls #7077
  • [csharp-netcore] renamed async methods to end with async #7062 Breaking change (without fallback)

C++

  • Fix string comparison in C++ UE4 client generator #7029
  • [cpp-restsdk] Enabling forward declarations also for cpp-restsdk generator #6996

Dart

  • [Dart] Treat float as double #6924
  • [dart] fix toJson does not handle complex type #6730
  • [Dart] Fix enum generation #6729

Documentation

  • [MARKDOWN] fix property and parameter names #6105

F#

  • Fix string comparison in fsharp generator tests #7052

Flash/ActionScript

  • Deprecate Flash (ActionScript) client generator #7231

Go

  • [Go] replace go generator with go-experimental generator #7337
  • Fix http bear auth documentation for go clients #7312 Breaking change (with fallback)
  • [go-server] Modified go-server templates to allow services to receive http request's context #7214 Breaking change (without fallback)
  • [REQ] Added enumClassPrefix option to Go server generation #7008
  • [Go] fix unmarshal for models with parents #6946
  • [Go]: Interface definitions for api functions #5914

Haskell

  • [haskell-http-client] avoid depending on ParseTime,FormatTime #6861

Java

  • [Spring Boot] update dependencies, mark java8 option as deprecated #7306
  • [Java] remove deprecated jackson classes #7304 Breaking change (without fallback)
  • [Java][jersey2]Support enum discriminator value in child objects #7267
  • [Play Framework] Update minor version + scala version + swagger-ui version #7200
  • [Java][Client] Use java8 OffsetDateTime for clients #7190
  • [jaxrs-spec] Fix JaxRS Spec generator additional model types #7180
  • [Java][Spring] Additional annotations with String params #7117
  • [Java][RestTemplate] useAbstractionForFiles - Use Resource interface instead of AbstractResource #7051
  • [Java] Rollback Feign version to 10.11 #7012
  • [Java] Add JsonTypeName to clients using Jackson #6995
  • [Java][RestTemplate] Use abstraction for files #6912
  • [Java] Deprecate feignVersion option #6824 Breaking change (without fallback)
  • [java][jersey2-client] Disable coercion of scalars #6811
  • Make ApiClient in retrofit2 be able to use own OkHttpClient #6699
  • [java] Intro openApiNullable property to enable/disable OpenAPI Jackson Nullable library #6154
  • Support for KumuluzEE microprofile runtime #5944

Kotlin

  • [Kotlin] Make ApiClient in jvm-retrofit2 be able to use own OkHttpClient #6999
  • [Kotlin] Rxjava3 support #6998

NodeJS/JavaScript

  • [NodeJS] Auto populate config using schema servers.url #6980
  • Update JS dependencies #6867
  • [JS] adding handling for epoch dates #6504

PHP

  • [php-slim4] Move config to a separate file #6971
  • [php-lumen] Set required PHP version to ^7.2.5 #6949
  • [php-ze-ph] Set required PHP version to ^7.2 #6763
  • [php-laravel] Upgrade php-laravel to 7.x #6346 Breaking change (without fallback)

PlantUML

  • Surpress warnings in the plantuml generator #7071

PowerShell

  • [PS] Allow CI to publish the module #7091
  • [PS] add nullable body support #6930
  • [PowerShell] support default value in models #6920

Protobuf

  • [Protobuf] Generate enum fields #7073 Breaking change (without fallback)
  • [Protobuf] Make it possible to override field numbers using x-protobuf-index #7002

Python

  • [fix][python-flask] add missing space for flask basic auth header #7031
  • [python-experimental] Removes python2 support #6991
  • Mark python2 support in Flask as deprecated #6653 Breaking change (without fallback)

R

  • [R] skip test for enum model #6936
  • [R] Enum R6Class Support #5728

Ruby

  • [Ruby] ruby client build from hash nullable #6945

Rust

  • [Rust][reqwest] prefix local variables with "local_var" #7299
  • [Rust][Client] Unify sync/async client structure #6753 Breaking change (without fallback)

Scala

  • Fix header issues for akka-scala client #7259
  • [scala][play] Update apiTrait.scala.mustache #6891
  • Sttp - wrap query params #6884
  • Improve sttpOpenApiClient generator #6684 Breaking change (without fallback)

Swift

  • [swift5] Add extension for hashable #7300
  • [Swift5] Fix Datetime default value #7003
  • Fix - Provides a default value for optional init parameters #6827

TypeScript

  • [Typescript-redux-query] Fix issue on api template when we have non empty header #7179
  • [Typescript] Import path is invalid in windows #7175
  • [typescript-axios] add promise to bearer and oauth tokens #7132
  • typescript-angular: Angular 10 support #7037
  • [TS] Fix string comparison #7027
  • [typescript-axios] switched to new URL API #6960 Breaking change (without fallback)
  • [typescript-angular] Unify authorization lookup #6953
  • [typescript-rxjs] add support for raw response and progressSubscriber #5465 Breaking change (without fallback)
openapi-generator - v5.0.0-beta release

Published by wing328 over 4 years ago

5.0.0-beta is a pre-release before the v5.0.0 major stable release scheduled in Q3/Q4 this year. Thanks again for all the awesome contributions from the openapi-generator community.

Below are the highlights of the changes.

General

  • Fix for operation defination containing ref schema #6676
  • [docker] Tag latest-release for stable latest tagging #6573
  • Copy vendor extensions from request body #6766
  • Fix default response #6625
  • Remove localVariablePrefix #6588 (Decommission)
  • Remove deprecations 5.0 #6060 (Breaking change (with fallback))
  • [core] Refactor templating management #6357 (Breaking change (without fallback))
  • [core][general] Add metadata file tracking to aid in "Golden Tests" regeneration #6325
  • Update swagger parser to 2.0.20 #6372
  • [core] Move overwrite ownership to SupportingFile #5036 (Breaking change (with fallback))

C

  • [C][Client] Convert integer/boolean to string for query parameter in request url #6652

C#

  • [csharp] Rename v5.0 to netstandard1.3 #6460 (Breaking change (with fallback))
  • [c-sharp] generator added CancellationToken to async api calls #6243
  • [aspnetcore] Remove web.config #6214 (Breaking change (without fallback))
  • [csharp-netcore] Remove support for old .net core project type #3937 (Breaking change (without fallback))

C++

  • [C++] [restsdk]Update CMakeLists.txt for seamless building on Windows and Linux #6658
  • [C++][Pistache] Catch HttpError from user-provided handler #6520
  • [cpp][Qt5] Add the ability to pass QNetworkAccessManager as a parameter #6053
  • [C++]Enable forward declaration for C++ #6654
  • Add C++ UE4 client generator #6399

Dart

  • Dart - generate constructor with named params #6751
  • [dart-dio][client] Allow passing progress callbacks through client methods #6261
  • Dart enum toJson method #6111
  • [dart-dio] Adds support for generating inline enums #5668 (Breaking change (without fallback))

Documentation

  • Fix Basic Bearer auth examples for HTML2 Docs #6579
  • Add some AsciiDoc tweaks #6436
  • [cwiki] Show enum values for URI parameters #6174

Elm

  • [elm] Add bearer, task, and sendWithCustomError #5146
  • Elm client generator refactoring #4891 (Breaking change (without fallback))

Erlang

  • Use supplied packageName instead of hardcoded #6561

Go

  • [go] Required fields are not pointers #6698
  • [go-experimental] Fix error message when unmarshaling wrong enum value #6663
  • go: use PathEscape instead of QueryEscape to escape path params #6618
  • [Go][Experimental] add oneOf discrimistrator lookup #6517
  • [Go][Experimental] Add discriminator support to anyOf #6511
  • [go-experimental] Fix marshalling of of go oneOf structures to work on non-pointer receivers #6314
  • [go-experimental] Ensure enum deserialization checks enum values #6315
  • [Go][Experimental] better oneOf and anyOf implementation #6166

Java

  • [Java][Microprofile] JSON enum processing fix #6700
  • Decommission Retrofit play24, play25 #6665 (Decommission) Breaking change (without fallback)
  • [Java] Add add constructor to BYO OkHttpClient #6401
  • [Java][Retrofit2] deprecate RxJava 1.x #6641 (Decommission)
  • [JAVA] RxJava3 support #6622
  • [Java][Native]Add option to use the builder pattern for API parameters #5961
  • Jersey2 supports additional properties with composed schema #6523
  • [Java] Decommission Retrofit 1.x support #6447 (Decommission)(Breaking change (without fallback))
  • [Java][Feign] decommission 9.x support #6445 (Decommission)
  • [JAVA] Generate arrays with "uniqueItems" true as Sets rather than Lists #5466 (Breaking change (without fallback))
  • Set java8 to true by default #6278 (Breaking change (without fallback))
  • [Java][jersey2] replace jersey2 with jersey2-experimental #6251 (Breaking change (without fallback))
  • [Java] Enable discriminator recursive lookup #5895
  • Add full OAuth2 support to jersey2-experimental codegen #6183

JavaScript/Nodejs

  • Pass body to service #6041
  • [JS] mark ES5 as deprecated #6408 (Decommission)

K6

  • [fix] Fix delete http verb (the k6 equivalent is del) #6624

Kotlin

  • Add use-site target field for JsonProperty annotation in kotlin data classes #6186
  • Support the use of tags in the delegated Spring Kotlin generator #5499 (Breaking change (without fallback))
  • #5476 [kotlin] [spring] fix swagger and spring annotation for defaultValue #6101
  • [kotlin][client] add support for coroutines with OkHttp #6362

Lua

  • Minor improvements to the Lua client generator #6219

PlantUML

  • Add new Plantuml generator for creating a schema diagram #6255

ObjC

  • [Objective-C] Fix thread-safety in template #6725
  • Added basic bearer authentication to objc template #6640

PHP

  • [php-slim4] Move Data Mocker to external repo #5930
  • [php-slim4] Set required PHP version to 7.2 #6530
  • [php] Set required PHP version to 7.2 #6603
  • [php-lumen] Show required PHP version in docs #6501
  • [php-laravel] Show required PHP version in docs #6502
  • [php-symfony] Set required PHP version ^7.1.3 #6181 (Decommission)
  • Mark Silex server generator as deprecated #6220 (decommission)
  • [php] Set required PHP 7.1 in code comments and readme #6188

PowerShell

  • [PS] Add additional properties support #6528
  • [PowerShell] Add useOneOfDiscriminatorLookup option #6516
  • Add oneof/anyof support to PowerShell client generator #6361
  • Replace powershell generator with powershell-experimental generator #6213 (Breaking change (without fallback))
  • [powershell-experimental] http signature authentication implementation #6176

Python

  • [Python] Additional properties with array types #6594
  • [python] Fix date-time parsing #6458
  • [Python][Client] Fix delimiter collision issue #6451
  • [python-experimental] Quicken package loading #6437
  • python-experimental updates ancestor + adds descendant discriminator tests #6417
  • [codegen][python-experimental] Composed schema with additionalProperties #6290
  • [Python-experimental] Fix type error if oneof/anyof child schema is null type #6387
  • [codegen][python-experimental] Add configuration knob to disable JSON schema validation #6227
  • [Python-experimental] JSON schema 'null' type should be modeled as 'none_type' #6121
  • [codegen][Python-experimental] Discriminator NPE fix, handle 'null' type #5809

R

  • Replacing caTools dependency with base64enc #6349

Ruby

  • Remove the json dependency #6580

Rust

  • [Rust][Client] Multiple returns becomes optional #6673
  • [Core, Rust Server] Support JSON query parameters #6577
  • [Core, Rust Server] Support optional headers #6575 (Breaking change (without fallback))
  • [Rust Server] Pass context to client middleware #6574 (Breaking change (without fallback))
  • [Rust][Client][Reqwest] Better http error handling #6481
  • [Rust][reqwest] add async support #6464
  • Add "useSingleRequestParameter" option to Rust client generator #6230
  • [Rust Server] Support boolean headers, and fix panic handling headers #6056
  • [Rust Server] Support complex query parameters #5831
  • [Rust Server] Don't use structs in models #5557
  • [Rust Server] Hyper 0.12 Support #4519 (Breaking change (without fallback))

Swift

  • [SWIFT5] Add the ability to turn uniqueItems array into Set in swift #6773
  • [Swift] fix GET request with array parameter #6549
  • Mark swift4 generator as deprecated #6311 (Decommission)

TypeScript

  • Mark typescript-angularjs as deprecated #6723 (Decommission)
  • [typescript-angular] support for object query parameters as nested key/json string #5790
  • [TypeScript] Rewritten TypeScript client generator supporting fetch & jquery #6341
  • Fix typescript generator for parameter collectionFormat for pipes ssv #6553
  • [typescript-angular] drop support of angular below 6.0.0 #6360 (Breaking change (without fallback))(Decommission)
  • [typescript-axios] Implement useSingleRequestParameter option #6288
openapi-generator - v4.3.1 released

Published by wing328 over 4 years ago

v4.3.1 is the last v4.x release before the upcoming v5.0.0 major release. As always, we appreciate the contributions from the community. In this release, we added a few new generators/libraries:

  • java (library: jersey2-experimental)
  • aspnetcore (aspnetCoreVersion: 3.1, 3.0)
  • powershell-experimental
  • scala-akka-http-server

We also fixed a bug (regression) on allOf being incorrectly interpreted as the inheritance (without proper use of discriminator) instead of the model composition (correct interpretation according to the spec).

For the highlight of changes, please refer to the list below. For a full list of changes, please refer to the "Pull Request" tab.

General

  • [cli][build] Relax the git id plugin #6094
  • Propagate deprecated property through $ref's #6093
  • Better "Any Type" support #6091
  • [validation] Warn on duplicate tags #6061
  • Restore allOf behaviour (model composition) for definition with a single schema reference #5977
  • Add input flag for Gradle openApiGenerate task #5966
  • Expose isDeprecated variable to model template #5964
  • [gradle] Print value of outputDir correctly in gradle plugin #5936
  • Update bitwise config #5904
  • [maven] mark Mojo threadSafe=true + fix concurrency issue in CodegenConfigurator #5898
  • [codegen] Fix 'super.HashCode' for oneOf and allOf Implementations (retry) #5830
  • Add default case to handle response code #5825
  • [codegen] Use once(LOGGER) to reduce amount of identical warning messages #5808
  • [cli][docker] Better expose version/sha information of builds #5736
  • [cli] Add --global-property for -D replacement #5687
  • [CORE] Fixes composed schema discriminator map #4906
  • Use model as body param for generateAliasAsModel #4569

C

  • [C][Client]Fix data lost when libcurl write-data callback function is called multiple times #5828
  • [C][Client] Support SSL client authentication for the c client #5719
  • Tests for models for C-libcurl generator #5699
  • [C] fix decode function #5642

C#

  • Fix bearer authentication in c# netcore client (async call) #6136
  • [csharp-netcore] Fixed handling of nullable enum values #6112
  • Implement Asp.Net Core 3.0/3.1 generator #6025
  • [C#] Add bearer support to C# client #5975
  • [C#][netcore] return a null instead of application/json when no content types are set #5941
  • Add bearer auth support to csharp netcore client generator #5921
  • [C#] dependency upgrade #5870
  • [Csharp-client] Complex form parameters are not serialized as application/json #5849
  • [csharp] Library upgrade fix #5848
  • [C#] Fixed valuetype parameters and discriminator deserialization #5680

C++

  • [C++] [Qt5] Export response code to worker #6021
  • [C++] [Qt5] Export valid and set status of properties #6020
  • [C++] [Qt5] [Client] fixed cpp-client-qt5 HttpRequestWorker contentCompression variables initialization #5834
  • [C++] [Qt5] Updates to allow the setting of the dateTime format string #5763
  • [C++] [Qt5] fixed cpp-client-qt5 HttpRequestWorker requests crashing on timeout #5651

Dart

  • [dart-dio] various improvements #6047
  • [Dart] Fix enum data type #5793
  • [Dart] Remove content type from header when content type is not specified #5752
  • [Dart] Fix "basic" auth method and Add Bearer token support #5743
  • [dart-dio] Fixes --model-name-suffix having no effect #5669
  • [dart-dio][client] Handle x-www-form-urlencoded form data #5597
  • Add listFromJson method to fix #4887 #5355

Documentation

  • [markdown] Show description when summary is missing #6159
  • [bug][html2] Fix visibility of body/response schemas #5643

Erlang

  • [Erlang-Server] security definition context changes don't propagate to handler #5751

Go

  • [go experimental] Make the array "items" attribute optional #6132
  • [Go][experimental] provide code samples in the API doc #6115
  • File return type fix #5644

Groovy

  • Fix crash issue on windows #6011

Java

  • Add HTTP signature authentication support to Java (jersey2-experimental) #6058
  • Add jersey2-experimental to Java client generator #6024
  • Fix crash issue on windows #6011
  • [Java][Client] Fix Gradle and SBT builds for REST Assured generator #5990
  • [Java][RestTempalte] Change access updateParamsForAuth to protected #5940
  • [Java] Increase java compiler stack size to handle large files #5901
  • [Java] Discriminator lookup should not be case insensitive by default #5894
  • Add date time format annotation on pojo for model query parameters #5437
  • [Java][Feign] Bug fix in @Param annotation #5250
  • [BUG][JAVA][spring-mvc] Generated Code for Map of Maps #5240
  • [enhancement] [jaxrs-spec] Add builders to models #4930
  • [Java][Native] Add asyncNative option #4721

Kotlin

  • [BUG] [KOTLIN] Fix default value generation for Kotlin Strings #5776
  • [kotlin] Fix #5247 incorrect enum parameter type for arrays #5435
  • [kotlin][client] Use allVars instead of vars for Kotlin client #5396

MySQL

  • [mysql] Add OAuth2 framework tables #5807

PowerShell

  • [PS][Experimental] Add validations to model #5842
  • [PS][Experimental] use allVars to cover all properties #5835
  • [PS][Experimental] Fix array return #5822
  • [PS][Experimental] add withHttpInfo support, fix "null" return #5811
  • [PS][Experimental] Better common verb handling #5783
  • [PS][Experimental] fix passthru, use switch instead of bool #5768
  • [PS][Experimental] Add multiple server support #5741
  • [PS][Experimental] various improvements #5740

Python

  • Adds memoization and deserialization through 2 or more discriminators #6124
  • [Python][aiohttp] create venv as rule #5913
  • [Python] Fix Python UTF-8 Encoding Issue #5679

Swift

  • Fix URLSessionImplementations file upload #6043
  • Fix OpenAPI link in broken Swift4/5 README templates #6035
  • [swift5] fix warning in Swift 5.2 #5900

TypeScript

  • [TypeScript-Angular] Add AuthService example to README.md #6087
  • [typescript-fetch] Make FormData optional #6077
  • [typescript-fetch] Support deepObject query params #6075
  • [typescript-fetch] Fix map API return type #5995
  • [typescript-axios] fixed pattern data integrity #5974
  • [typescript-axios][client] Allow apiKey type Promise #5953
  • Update axios dependency to the new minor version 0.19.0 #5867
  • [typescript-axios][client] Unnecessary imports occurs when using withSeparateModelsAndApi #5797
  • Ensure model.allParents always includes model.parent #5738

Scala

  • [scala][akka-http] fix non-default packages for api, model and invoker #6129
  • [scala-akka-http] fixed date header and removed broken test due invalid v2 spec #6109
  • Fix Scala sttp generator packages #5890
  • [scala-akka-http-server] Fix a generation problem on operations with empty responses #5868
  • Minor improvements to scala akka server #5823
  • New Generator: Scala akka-http server #5758
  • Fix scala-akka java8 serializers #5742
openapi-generator - v4.3.0 released

Published by wing328 over 4 years ago

v4.3.0, the first release in 2020 containing breaking changes with fallbacks, has been released with bug fixes, enhancements, new features, new generators (powershell-experimental, javascript-apollo, k6).

Thanks for the awesome community for contributing 200+ PRs to this release.

For a full list of changes, please refer to "List of all changes"

Below are the highlights of the release:

General

  • [gradle] Include engine option for handlebars generation #5686
  • [core] Sanitize/underscore/camelize cache expiry #5484
  • [cli][gradle] Validate now uses parseOptions w/setResolve #5471
  • Fix the issue with the online service #5461
  • [all] Move feature set setter #5460 Breaking change (with fallback)
  • [hb] Honor supporting files when applying bundles #5364
  • [cli][core] Add support for dry-run and display #5332
  • [templates] Update templates vendor ext standards #5295
  • [codegen][validation] Add support for 'null' type #5290
  • [maven] Docs and minor refactoring #5251
  • [core] Log some things in model/url utils once #5233
  • [codegen] Add openAPI attribute to validation and recommendation #5216
  • [cli] Optional colorized outputs #5193
  • [core] Normalizing vendor extension naming #5192
  • [bug] fix null pointer exception while evaluating recommendation #5191
  • [docs] Initial FeatureSet generator documentation #5188
  • [gradle] Add recommendations to validate task #5183
  • [feature] Add option to disable stripping of common prefix enum #5166
  • [core] Extracting recommendations to validation framework #4979 Breaking change (without fallback)
  • Better importMapping handling when aliasing references #4350
  • Fix: "isAlias" of CodegenModel #2758

C

  • [C][Client] Check the pointer before deleting operation to avoid core dump #5626
  • [C] various bug fixes and supporting bools #5624
  • [C] fix issues on enums #5477
  • Support for additionalProperties in the C generator #5440
  • [C-libcurl] Guard memory free for query parameters to avoid coredump #5356

C#

  • [C#] add support for client certificates #5328
  • [csharp-netcore] Remove use of dynamic type and optimize reference #5206
  • [csharp][csharp-netcore][csharp-dotnet2] Convert bool value to string in lower case #5178
  • [csharp-netcore] Explicitly set netCoreProjectFile only for .NET Core target #5151
  • [csharp-netcore] Improved Multimap and ClientUtils implementation #5122
  • [csharp-netcore] Remove unnecessary legacy project definitions #5108

C++

  • [C++] [Qt5] CI Tests Handle negative response from the server #5649
  • [C++] [Qt5] Update isSet when the object is received from callback #5634
  • Added support for msvc builds in cpp-qt5-client generator #5468
  • [C++] Add an option to allow having lowercase variables in models, Pistache: allow using reservedWords in models #5434
  • [BUG][C++] Avoid using plain underscore when escaping reserved words #5269
  • [C++] [Qt5 Server] added implementation of declared function #5253
  • [C++][rest-sdk] Simplify Model templates to support nested containers, maps and bytearrays #5222
  • [cpp-restsdk] fix crashes and constness #5123

Documentation

  • [markdown] Fix broken links when generating markdown #5569
  • [asciidoc] Allow the inclusion of additional documentation to the asciidoc generated #5260
  • [bug] Templates via classpath #5164

Erlang

  • [Erlang][Server] fix import for multiple API key auth #5424
  • [erlang] Do not export function if not defined. #5394

Go

  • [go-experimental] Fix nullable support #5414
  • [Go] Fix compilation error of generated go code when schema is free form object #5391
  • [go][java] Document new parameterized server support #5380
  • [go] Fix filenames with $GOOS and $GOARCH sufixes #5283
  • [go] Add Ptr method to const enum values #5257
  • [go-experimental] Add model constructors to initialize non-container vars with defaults #5175
  • [go-experimental] Add oneOf support #5150
  • [go-experimental] Preserve capitalized acronyms in structure names #5006
  • [Go] Support HTTP signature #4959
  • [go-experimental] Support aliasing of API keys #4940
  • [Golang] Add support allOf inheritance with embedded go structs #4934

Haskell

  • [haskell-http-client] exclude bad time versions #5589

Java

  • [jaxrs-reasteasy-eap] Fix invalid Bean Validation annotations for Longs #5659
  • [jaxrs-cxf-cdi] Support PATCH httpMethod #5574
  • [Java][Native] Adding Response Interceptor #5500
  • Fix generation of oneOf interfaces for oneOf usage in properties #5400
  • [BUG] [JAVA | Spring] Cookie in parameter is not correctly generated #5393
  • [Java] mark Feign 10.x (instead of 9.x) as the default #5310 Breaking changes with fallback
  • [Java][okhttp-gson] Use builder api of OkHttpClient to avoid UnsupportedOperationException #5177
  • [java][client] oneOf support for jackson clients #5120
  • [java] Support templated servers #4998
  • [java] Support aliasing of API keys #4966

JavaScript

  • Nodejs express JS packages update #5675
  • Generator for JavaScript/Apollo Client #5645
  • Add post-processing to NodeJS express server generator #5369
  • [JavaScript] Avoid setting Content-Type header if body is not used #5344

Kotlin

  • [Kotlin][client] fix file upload #5548
  • [kotlin][client] Add Jackson to interface properties and remove extra line feed #5459
  • [kotlin][client] make base path globally configurable #5450
  • kotlin-server: fix features' imports #5404
  • [Kotlin][Client] Enum toString handling #5327
  • [kotlin]Fix ktor doesn't generate nullable types #5258
  • [kotlin][client] Add Jackson as serialization library #5236
  • [kotlin][client] make Request date converter toJson as default #4884
  • [kotlin][client] Add inheritance to Kotlin Client templates #4453

K6

  • [k6] OpenAPI code generator for k6 API load-testing tool (ES5.1+) #5300

Perl

  • [core][typescript][perl] Ensure model.parent is also added to model.allParents with multiple inheritance #5182

PHP

  • [PHP] complete support for form style #5519
  • [PHP][Symfony] Add return types to getter and fluent setter #5348
  • [PHP] Fix additionalProperties annotation in models #5318
  • [Slim4] Add Data Mocker middleware #4978
  • [PHP] Remove model prefix/suffix from inline enum var names #4489

PowerShell

  • [PowerShell][Experimental] use basic parsing #5702
  • [PowerShell][Experimental] Better docstring #5688
  • [powershell-experimental] Adds configuration option to skip certificate check #5657
  • [powershell-experimental] Protects against stackoverflow when OAS spec has circular references #5646
  • [PowerShell][Experimental] Fix map type #5638
  • [PowerShell][Experimental] minor improvements and bug fixes #5635
  • [Powershell][Experimental] refactor the client generator #5629

Python

  • [python/asyncio] explicitly close client session and asynchronous context manager #5621
  • [Python-experimental] Fix UnboundLocalError: local variable 'obj_dict' referenced before assignment #5551
  • [Python][Flask] Use the dataType if the baseType is not set #5372
  • [Python] add discard_unknown_keys parameter #5362
  • [python] Adds python oneOf/anyOf models + tests #5341
  • [python] add method to set/get default configuration #5315
  • [python] use datetime aware object #5209

R

  • [r] Handling CRAN feedback for example snippet #5345

Ruby

  • [Ruby] Fix CVE-2020-8130 #5483
  • [Ruby] Add error output #5428

Rust

  • [Rust Server] Don't change the API version #5458
  • Fix NPE in rust server generator #5304
  • Add missing keywords in rust #5244

Scala

  • Scala-Akka: Add missing body to PATCH requests #5605
  • Fix default value for abstract scala and scalatra server generators #5578
  • [BUG][scala][template] scala generate java.math.BigDecimal instead of scala type #5514
  • [scala] [template] scala model property style #5486
  • [scala] strip model class name for all scala generators #5439
  • [scala] new scala-sttp client generator #5429
  • [scala][templates] java 8 dates support #5291 Breaking change (with fallback)
  • Add support for bearer token scala-akka #5069

Swift

  • [swift5] stop hiding network error #5603
  • [swift5] add option for API prefix #5567
  • [Swift5] fix URLSession file upload #5546
  • [Swift5] small improvements to Objc compatibility #5410
  • [Swift4] Expanding CodableHelper with added date and JSON customisations #3365 Breaking change (with fallback)

TypeScript

  • [typescript-fetch] add interfaces, withInterfaces #5612
  • typescript-angular: fix zone-js version for angular 8 #5585
  • [typescript-inversify] Support nullable properties #5568
  • [typescript] Clean up modelPropertyNaming across generators #5427
  • Typescript-axios: add headers from configuration object #5422
  • [typescript] Add ReadonlyArray to native types #5399
  • typescript-angular: support angular 9 #5370
  • [BUG][typescript-rxjs] Fix nully type coalescing in Configuration getters #5329
  • [typescript] Remove incomplete support of Date type #5314
  • typescript-angular: single request parameter documentation #5308
  • typescript-fetch: Base Path can't be set to empty string #5305
  • [BUG][TYPESCRIPT-RXJS] Format Date is converted to Date-Time #5287
  • [typescript] Don't hardcode the date type if user has mapped it #5266
  • typescript-angular: fix handling of date object in query parameter #5225
  • [typescript-angular] Use security scheme name for API key lookup #5220
  • [typescript] Make additional properties access safer #5207
  • [typescript-angular]: objects as query parameters no longer break when fields are null #5197
  • [core][typescript][perl] Ensure model.parent is also added to model.allParents with multiple inheritance #5182
  • [typescript] Append enum suffix without model suffix #5138
  • Fix array model of alias to array model missing inner type argument #4981
openapi-generator - v4.2.3 released

Published by wing328 over 4 years ago

The first release in 2020 comes with lots of enhancements, bug fixes and new generators.

New Generators

  • swift5: swift 5 client generator
  • markdown: markdown documentation generator

New HTTP library support (--library option) in the existing generators:

Thanks again for all the contributions from the community.

For a full list of changes, please refer to the list below:

List of all changes

Here are the highlights:

General

  • [gradle] Clarify defining multiple tasks #5167
  • [core] Add back functionality to debug openapi spec, accidentally removed in 4.1.2 #5147
  • Fixing some issues with threading and NPE #5107
  • [test] Removes jmockit in favor of mockito #5063
  • [CORE] Add support for HTTP signature #4993
  • Use UTF-8 charset on writing files #4984
  • Include vendor extensions from security scheme #4830
  • [Core] Refactor: breaking allModels indexing apart from updateAllModels #4753
  • [core] Minor schema validations bug + add pattern property to CodegenResponse #4724
  • Add isCircularReference to properties #4553
  • Support models with multi-level hierarchy (via roxspring) #4503
  • [Java/Core] Adds properties to ComposedSchema models when they exist #4482
  • [core] Initial FeatureSet structures #3614

Ada

  • [Ada] Wrong style for generated Ada model types and missing security scopes #4863

C

  • [C-libcurl] Support HTTPS/SSL for the C client #5140
  • [C-libcurl] Support setting basePath and apiKeys when creating an apiClient #4960
  • [C-libcurl] The JSON key name in request/response body should not be escaped even though it is a C key word #4893
  • [C-libcurl] fix building error when complexType is empty #4768
  • [C-libcurl] Change baseName to name to escape the field name of struct #4735

C#

  • [csharp-netcore] Fixed compiler null-check warning #5119
  • [csharp-netcore] Support .NET Core 3.0/3.1 and .NET Standard 2.1 #5111
  • [csharp-netcore] Update RestSharp and improve async methods #5066
  • [aspnetcore] Fix duplicate enums #5059
  • [C#] allow customization of generated enum suffixes #4301

C++

  • [C++] [Qt5] Support abort operation #5114
  • [C++] [Qt5] Add request compression and handling identity #5088
  • [C++] [Qt5]Add support for response compression and various enhancements #5060
  • [C++][Pistache] Rename value holder to lower chance of collision with parameter name #4948
  • [cpp-restbed] Added "out-of-the-box" functionality #4759

Dart

  • [dart-dio] Fixes issues with DateTime import and form date paramaterToString function #4929
  • [dart-dio] Fix basepath #4911
  • [dart-dio] Adds support for multipart form data post body #4797
  • [dart][dio] add dateLibrary options ( core, timemachine ) #4716
  • [dart-dio] Fixes enum by setting the wireName to the correct value #4708
  • Added Dart config parameters to fulfill pubspec requirements for publishing to pub #3911

Documentation

  • Fix boolean option in asciidoc generator #4856
  • [asciidoc] add option to not generate metadata #4852
  • [markdown] New Markdown Generator #4811

Go

  • [go] Allow user overrides for generated outputs #5132
  • [go-experimental] Fix multiple go compilation errors and enable go integration test in pom.xml #5075
  • [go] fix compilation error in generated go code #5061
  • [go][client] fix when schema have multiple servers #4901
  • [go-experimental] Use builder pattern for requests #4787
  • [REQ][GO] add AWSv4 signature support #4784
  • [go-experimental] Fix issue with Nullable marshaling comparing value to empty string no matter the enum type #4712
  • [go] Fix multi-value path params in go #4664
  • [go-experimental] Add multiple servers support to Go(-experimental) client #4635

Java

  • [Java][jersey2] Escape query params before invoking api #5023
  • [Java] Fixes Spring generator devaultValues for int64/float/double #4969
  • [jaxrs-spec][quarkus] update to version 1.1.1.Final #4935
  • [java][client] jackson update #4907
  • [java] fix Jersey2 and resttemplate not correctly sending defaultCookies #4821
  • [Java][Spring] Fix bean Validation for type:string, format: email #4788
  • [Spring] Fix template for RequestBody, added 'required' attribute #4756
  • [REQ] Java Microprofile REST Client Template #4713
  • Error in the reactive client when the path variables are a list #4689
  • [Java] Fix serialized name of discriminator in JSON.mustache #4672
  • [Java][jersey2] Use builder pattern for requests #4666
  • Fix multi-part binary array form parameters for Spring Boot and Spring Cloud templates #4616
  • [Java] Additional annotations for model type (class level annotations) #4026

JavaScript/NodeJS

  • [HttpBasicAuth] Use positive isBasicBasic tag instead of negative isBasicBearer #5095
  • [javascript] Add npmRepository option to javascript generators #4956
  • Use correct relative paths #4677

Kotlin

  • Add deprecated annotation in kotlin-spring #5090
  • [kotlin][client] Use OffsetDateTime to represent date-time received by the server #4835
  • [kotlin][client] unify JVM libraries #4827
  • [Kotlin][Client] Added new option to enable moshi code generator #4781
  • [kotlin][client] expose http status code on errors #4742
  • [kotlin][client] make serializer configurable #4740
  • [Kotlin][Client] new library support: Retrofit 2.x #4518
  • [Kotlin] enumPropertyNaming UPPERCASE should separate words with _ #4062

Python

  • [Python] Fix operations with req enums of length one #5129
  • [python] Cleanup ThreadPool with atexit rather than del #5094
  • [Python] fix numeric enum in python flask, aiohttp #5019
  • [Python-experimental] Add python experimental openapiv3 sample and fix PEP8 formatting issues #4992
  • [Python] Conditionally set auth attributes #4988
  • [Python] Support for HTTP signature #4958
  • [python-experimental] Allow models to have properties of type self #4888
  • [Python] Fix package name in tox.ini #4776
  • [Python] Updates python test framework to pytest #4765
  • [Python] Removes mutable default argument #4665
  • [Python] Changes to the templates for test code of python client #4514
  • [Python-experimental] Adds allOf/oneOf/anyOf composed models #4446

Swift

  • [Swift5] return ErrorResponse.error when network parsing error #5068
  • [Swift] Minor improvements to swift 5 generator #4910
  • New generator swift5 #4086

PHP

  • [PHP] fix php codegen ordering issue with CodegenSecurity #5001
  • [Slim4] Data mocker for scalar types #4751
  • [PHP] ensure rewound guzzle response body #4744
  • [Slim4] Update templates to comply PSR-12 coding style #4728
  • [PHP] Preserve JSON accept header #4684

MySQL

  • [MySQL] snake_case table and column names #4860

PowerShell

  • [PowerShell] avoid using hardcode prefix in example #4917

R

  • [r] Fixing the CRAN submission issues #4828
  • [r] Adding export of ApiException class #4761
  • [r] fixing serialization bug in empty json array #4667

Ruby

  • [Ruby] remove base_object_spec.mustache from ruby client #4918

Rust

  • [Rust Server] Handle array of objects inside an object correctly #5044
  • [Rust Server] Add support for primitive arrays #5041
  • [Rust Server] Rust 1.39 compatibility #4864
  • [Rust Server] Hyper 0.12 Support #4519

Scala

  • [scala] Support for Set when array has uniqueItems=true #4926

TypeScript

  • [typescript-angular] Sanitize/transform model name after appending modelSuffix #5105
  • Typescript Axios returned types and export paths fixed #5102
  • [typescript-angular] Fix typescript model kebab-cased filenames #5085
  • [typescript-axios] Fixed call of toISOString on a string type when using string type-mapping #5057
  • [typescript-node] Added ability to work with defaultHeaders and fixed authentication #4896
  • [typescript-axios][client] Unnecessary imports occurs when using nested model in allOf #4805
  • [typescript-redux-query] Add proper modeling of allOf usage #4780
  • [typescript-angular] Control Accept header via param #4774
  • [typescript-node]: Add support for nullable #4670
  • Typescript refactor: Platform select for browser and node #4500
  • [REQ][typescript-angular]: support for object as query parameters #4407
  • [typescript-rxjs] performance improvements, bugfix for falsy parameters #4250
openapi-generator - v4.2.2 released

Published by wing328 almost 5 years ago

v4.2.2, which is a backward-compatible release covering 20 languages, is the last release in 2019. It comes with 1 new generator: typescript-redux-query. We appreciate all the contributions from the community and look forward to more contributions from the awesome community in 2020.

For a full list of changes, please refer to the list below:

List of all changes

Here are the highlights:

General

  • Add net.java.dev.jna to resolve "Unable to load JNA library" #4634
  • Add openapi-generator executable to docker container #4610
  • Update kotlin version to 1.3.60 in modules/openapi-generator/pom.xml #4598
  • Maintains state of hasMore when security is filtered #4585
  • Fix isNullable in the toString method #4554
  • Update swagger parser to the latest stable version v2.0.16 #4550
  • Fix: prevent ClassCastException when handling options of #4495
  • [default codegen] Correct parent variables being duplicated in child #4253

AsciiDoctor

  • [asciidoctor] javadoc: add missing tag for declared exception #4630
  • [asciidoc] add form params and authorization headers #4505

C

  • [C] better support for additional properties #4349

C#

  • [csharp-netcore][documentation]: Adding model summary to model documentation files #4309

C++

  • [C++][Pistache] Add comparison operators #4619
  • cpp-qt5-client: fix warning reordering member initialization #4526
  • [C++] [Qt5] Clang format Code #4444

Dart

  • Add HEAD method to ApiClient of dart codegen #4504
  • [dart-dio] correctly handle Map<String, Object>, List<Object> using JsonObject #4401

Elm

  • [elm] Add support for oneOf #4434

Go

  • Add go.mod as supporting files to go-server #4592
  • Add support for dumping request and response in Go generated clients #4566
  • Add an option to prefix Go struct with the classname #4564
  • [Go] Bypass object decode in case of empty body #4546
  • [Java][Go] Unalias schema in getTypeDeclaration when not generating model for alias #4527

Haskell

  • [FIX][Haskell-servant] missing indent on the new feature pull request #4490
  • [FEATURE][Haskell] Haskell-Servant serves static files #4058
  • [FEATURE][Haskell] Add Middleware support for the haskell servant generator #4056

Kotlin

  • [Kotlin-spring] add kotlin runtime compiler #4544
  • Fixes Kotlin client property names that include a dollar sign for template overrides #4351
  • Add mutable model option to kotlin generators #4115
  • [kotlin-spring] add support for the delegate pattern #3925

Java

  • [java][client][restassured] add getAllOperations() #4631
  • [jaxrs-spec][quarkus] update to 1.0.0.FINAL #4609
  • [Java][Spring] minor bug fix on unhandledException flag #4543
  • [JAVA] Update Gradle in generated Java projects from 2.14.1 to 6.0.1 #4536
  • [Java][Go] Unalias schema in getTypeDeclaration when not generating model for alias #4527
  • [java] Fix java version defaulting #4520
  • [BUG] [Java] Client resttemplate and webclient. Form Params are badly added when they are lists #4461
  • Avoid generating uncompilable response body in Spring's API template #2903

JavaScript

  • [JS] Update package.json #4261

OCaml

  • [OCAML] Fixes cloud.drone.io ocaml-test #4501

PHP

  • [BUG][PHP] Parameter property style not fully implemented #4640
  • [PHP] Include microseconds in serialized date-time #4542

Python

  • [Python] each Configuration instance now has its own dicts #4485

R

  • [BUG][R] use loadNamespace instead of package:pkgName string #4614
  • [BUG][R] Fix documentation in R package #4580

Ruby

  • [Ruby] delete unused mustache in ruby-client #4638
  • [Ruby] Fix typo in description #4624

Rust

  • [Rust] Derive more traits #4142
  • [Core, Rust Server, ASP.NET Core] Fix Codegen Operation Scope Consistency #3495

Scala

  • Fixes issues with Scalaz outputs #4508

Swift

  • [Swift] Fix enum encodable #4594
  • [Swift] Add option parameter to select response queue #4591
  • [CI][Swift4] improve swift ci integration #4571
  • [swift 4] improve test suite #4561
  • [swift] add option for non public api #4556
  • [Swift] Enhancements to iOS tests #4521
  • [swift] Introduce result type #4511
  • [Swift] Convert default value of enum with not string type to string #4481

TypeScript

  • typescript-node: support bearer token authentication #4633
  • [typescript-rxjs][client] Unnecessary imports occurs when using allOf #4632
  • [TS] replace line comment with block comment #4540
  • New generator: typescript-redux-query #3824
openapi-generator - v4.2.1 released

Published by wing328 almost 5 years ago

v4.2.1 (patch release) covers more than 10 languages with 50+ PRs. For a full list of changes, please refer to the list below:

List of all changes

Here are the highlights:

General

  • [core] Fix system properties being immutable #4447
  • [ci] Setting ensure-up-to-date to use batch option in CircleCI #4445
  • [cli][script] Fix misspelling in cli bootstrapping script #4356
  • Remove deprecated API use of ObjectFactory.property() (#2613) #4352
  • [core] consider polymorphism when computing unused schemas #4335
  • [asciidoc] fix names of parameters #4440

C

  • [C] Minor enhancement to C client generator #4457

C#

  • [csharp-netcore] Propagate raw content to the ApiException error content #4381
  • [Feature] emit default values for optional properties #4347
  • csharp-netcore: Replace null literals with default #4345

C++

  • Simpler timeout with QTimer::singleShot #4430
  • cpp qt5 client: fix prefix bug #4432
  • cpp-qt5-client: remove host since it is not well handled #4429
  • [C++][Pistache] update cpp flag for pistache #4386
  • [C++] [Qt5]Update isSet when the object is received from callback #4385
  • Fix cpp-restbed-server json field serialization #4323

Dart

  • [Dart] generate keywords as a resource #4449

Go

  • [go-server] Add featureCORS option #4400

Kotlin

  • [Kotlin][Client] Add option to make all api method return a nullable model #4422
  • [kotlin][bugfix] [maven-plugin]: prevent ClassCastException with boolean config options #4361
  • [kotlin][client] annotate API exceptions #4339
  • [kotlin][client] gson complete integration #4332
  • [meta] Support Kotlin meta generator #4156

Java

  • [Java] Recursive equal on reflection #4475
  • Replace the old ResourceSupport #4426
  • [Java][native] Re-interrupt the thread in the generated code #4382
  • [Java][resttemplate][webclient] fix array parameters of type integer in path #4379
  • Fix Jackson databind security issue #4370
  • [jaxrs-spec][quarkus] update to 0.27.0 #4360
  • Bugfix and Refactor on Java-Vertx-Web parameters #4353
  • [Java] Fix security alerts due to com.fasterxml.jackson.core:jackson-databind #4344
  • [Java][Spring] forward throws for delegate to main method #4327
  • [Java] Refactor webClient generator to use URI templates to capture correct metrics #4314

JavaScript

  • [Javascript][Flowtyped] Adding parent flow type to child type using "& ParentType" to allow flow JS access parent fields from child types #4263

Python

  • [Python-Experimental]: Remove redundant else statement #4324
  • [python][metadata] Adding license and author fields #4318
  • [Python] Avoid pep8 violation #4316
  • [Python] [Performance] Avoid unnecessary checks inside the loop #4305

Ruby

  • [Ruby][client] better nullable support #4391

TypeScript

  • feature: Typescript-angular support single request param #4479
  • typescript-fetch: Only generate npm package if npmName specified #4472
  • [typescript-rxjs]: Add support for nullable #4438
  • [typescript-fetch] Add (de)serializers for oneOfs #4387
  • typescript-angular: fix oneOf and anyOf generates incorrect model for primitive types #4341
  • [typescript-fetch] Fix discriminator mapping name #4340
  • [typescript-angular] do not call .toISOString() on a string #4337
  • [typescript-fetch] Fix for nullable enums + separate treatment of null and undefined #4315
openapi-generator - v4.2.0 released

Published by wing328 almost 5 years ago

v4.2.0 (containing breaking changes with fallbacks) comes with 3 new generators: dart-dio, php-slim4, java-vertx-web. As always, we're very grateful for the contributions from the awesome community.

List of breaking changes with fallbacks

List of all changes

Below is the summary:

General

  • [docs] Custom template clarifications and other minor enhancements #4167
  • [core] Update Swagger-Parser to '2.0.15' #4145
  • Sanitizes model names so they're valid class/interface names #4127
  • Fix readonly with isReadOnly #4102
  • Serializer object mapper setting fix #4093
  • Remove unused property (SecuritySchemeDefinition) #4081
  • Add style and explode #4042
  • [CLI] Initial implementation for batch generation #3789

Avro

  • Fix file type in avro template #4105
  • [AVRO] Fix the package handling for the avro generator #4078

Bash

  • [Bash] Minor improvements #4274

C

  • [C] Update build-and-test.bash to fix CI errors #4312

C#

  • [C#][NetCore] Rename local variables #4297
  • Deprecated netstandard, uwp support in csharp generator #4214
  • [CSharp] add optional flag "optionalEmitDefaultValues" and update template #4010

C++

  • [C++] Enable Qt5 Petstore tests #4164
  • [C++] [Qt5] Add generation of cmake files to qt5 client #4133
  • [C++] [Qt5] Add missing supporting files when prefix is provided #4132
  • [C++][Pistache] Use optional when required #4082

Confluence wiki

  • Fix Confluence wiki format issue #4064

Dart

  • [dart-dio] Correctly handles import of Uint8List #4313
  • [Dart] [Bug] Handle model names starting with number #4276
  • Fix conflict if paramName is data #4266
  • fix(dart-dio): enum class generation is not implemented #4235
  • Adds Dart Dio generator #4018

Elm

  • [elm] fix code generation for nullable types #4136
  • Fix NPE in Elm path parameter #4116
  • [elm] Add toString for all types #3983

Go

  • [go-server] Return Router interface from controller constructor #4196
  • Fix boolean operators precedence #4158
  • [Go] Upgrade dependencies #4126
  • [Go] Fix go.mod and go.sum for 1.13 #4084
  • [Go] Fix enum value which is not string #4077
  • [go-server] Enhance Go API server with interfaces router binding and services #4038
  • [go-experimental] export required fields without pointer #3989
  • [Golang] Allow retrieving the underlying configuration for APIClient #3976
  • Do not check status code for default response #3322

Haskell

  • [FEATURE][Haskell] Haskell-Servant serves static files #4058
  • [FEATURE][Haskell] Add Middleware support for the haskell servant generator #4056
  • [haskell-http-client] Bump deps to LTS 14.7 #4068
  • [haskell-http-client] add dateTimeParseFormat CLI option - overrides the format string used to parse a datetime #4037
  • [haskell-http-client] disable unused import warning in Core.hs #4020
  • Fix trailing comma wrong in template for haskell-http-client #4013

Java

  • Implement Server Stub Code for Vert.x Web #4286
  • Add bearer token authentication documentation to template #4278
  • okhttp-gson: fix SSL settings with okhttp3 #4226
  • [jaxrs-spec][quarkus] update to 0.25.0 #4185
  • Update to jackson-datatype-threetenbp 2.9.10 #4176
  • [Java] Support cookie-based security schemas in Java clients #4155
  • [Java] fix jackson-databind-nullable version variable due to Gradle Incompatibility (Template Update) #4148
  • [JaxRS-Java] use @FormParam for form parameters when it is not Multipart #4125
  • [Java] fix jackson-databind-nullable version variable due to Gradle Incompatibility #4092
  • [jaxrs-spec][quarkus] update to 0.23.2 and fixes for Dockerfile #4053
  • Make Java Resttemplate client thread safe by using the withHttpInfo pattern (Breaking change (with fallback)) #4049
  • [java][client] Fix regression in Java XML serialization #4023
  • [java] Don't import oltu when not necessary #3950
  • [java][client] Don't include nullable attributes twice in serialized JSON #3923
  • [java] allow to use setArtifactVersion() programmatically #3907
  • [JAVA][JAXRS] Fix parameters validation #3862
  • [Java][Fix #3310] Respect discriminator case for @JsonTypeInfo #3320

JavaScript

  • [JavaScript][ES6] Added a check if response is undefined #4298

Kotlin

  • [Kotlin][multiplatform] better authentication support #4284
  • Fix Kotlin query collection format #4248
  • [Kotlin] Add kotlin.collections.Set support for unique item arrays #4247
  • [kotlin][client] only use authentication tokens when they are not null #4238
  • Fixes Kotlin client property names that include a dollar sign #4229
  • [Kotlin][client] Add nullable query parameter support #4197
  • Update to jackson-datatype-threetenbp 2.9.10 #4176
  • [Kotlin][Client] fix missing curly bracket when the model contains enum property #4118
  • [kotlin] add option for non public API #4089
  • Add DELETE with body to kotlin client #4047
  • [kotlin-client][kotlin-server] kotlin data class serial version uid #4021
  • [kotlin-client] Add support okhttp3 and Android 4.x #4008
  • Fix generation of query parameters for optional/nullable function arguments #3903

PHP

  • Mark Slim3 server generator as deprecated #4256
  • New PHP Slim4 Server Generator #3658

PowerShell

  • Update API and model path when packageName is updated #4108
  • Fix nullable for arrays and complex types #4106

Python

  • [Python] Remove redundant else statement #4311
  • Python: Flask: Fix: Update setup.py to match requirements.txt #4205
  • [Python] Minor fix to code format #4172
  • [python] Remove post_params and body from OPTIONS request #4163
  • [python] Skip adding None value in query parameters #4161
  • [Python-experimental] types now classes, adds additionalProperties handling #4154
  • [python] Add ability to get allowed values #4138
  • [python] Add option to skip client validations #4137
  • [python] Add missing keywords python #4134
  • Test Python aiohttp first in Travis #4117
  • Fixed Readonly Docs for python #4085

R

  • [r][license]: Better license and contact information #4317

Rust

  • [Rust] Better support for optional and nullable parameters #4016
  • [Rust] Add support for discriminator #3895
  • [Rust Server] Support parameters correctly in response headers #3669
  • [Rust Server] Support types with additional properties #3666
  • [rust] Make it easier to test rust client generator #3543

Swift

  • [swift] Add missing keywords in Swift #4153
  • [swift4] Add swift package manager and update dependencies #4141

TypeScript

  • [TS] Fixes typescript-axios "File custom.d.ts not found" when building consumer TS project #4230
  • typescript-angular: Allow for custom naming of ApiModule #4209
  • [typescript-rxjs] improve HttpQuery typing #4198
  • typescript-rxjs: fix query parameters type #4160
  • [typescript-inversify] Fix multipart form uploads #4131
  • Disabling linting for typescript-fetch #4110
  • typescript-fetch: fix empty URLSearchParams request body #4103
  • [typescript-axios] Fix api generating incorrect serialization type check #4051
  • typescript-jquery: Update to work with Typescript strict mode #3969
  • typescript-angular: set angular version 8 as default for ngVersion (Breaking change (with fallback)) #3680
openapi-generator - v4.1.3 released

Published by wing328 about 5 years ago

v4.1.3 (last patch release before the upcoming minor release v4.2.0) comes with 4 new generators:

  • asciidoc markup generator #3845
  • Add F# Functions server generator #3933
  • [Kotlin][server] Add kotlin-vertx-server #3031
  • Add Nim client code generator #3879

As always we're grateful for all the contributions by the awesome community.

General

  • Update mockito to 3.1.0 #4035
  • [FIX][CORE] Repaired Checkstyle #4029
  • Update maven-compiler-plugin version #3956
  • Fix jackson-databind security issue #3945
  • Add a global option to customize the API name suffix #3918
  • Add gradle repository for using gralde dependency in plugin #3867

AsciiDoc

  • asciidoc markup generator #3845

C++

  • [C++] [rest-sdk] Add missing enum processing in C++ Abstract codegen #3986
  • [C++] [Pistache] Removed deprecated warnings #3985
  • [C++] [cpprest] Fixed wstring on linux #3892
  • [C++] bug fix for ishttpcontent not set properly #3888
  • [C++] [Qt5] Add initial version of File upload and download for Qt5 client #3853
  • [C++][Pistache] Simplified model template #3417

F#

  • Add F# Functions server generator #3933

Dart

  • Dart fix template tests #4015
  • Change Uint8list by List because it cause trouble with last versions of jaguar #3871

Go

  • go: add os import in case of File return type #3996
  • Import time when properties are slices of time.Time #3973
  • Support Multiple API Keys #3450

Java

  • [Java][Client][Feign] fix a bug when encoding query parameters using a parameter map #3948
  • [jaxrs-spec] add Eclipse MicroProfile file based approach #3901
  • updated google-api-client version from 1.23.0 to 1.30.2. #3882
  • java-spring: Spring Boot fails to parse LocalDate query parameter #3860
  • [spring] Resolve regression on RequestParam for non-objects #3855

Kotlin

  • [kotlin] mark 'parcelize' as a stable option #4003
  • [kotlin-client][kotlin-server] feature: allow creation of kotlin data classes that implement java.io.Serializable #3997
  • Fixes invalid Kotlin client variable names for reserved words #3993
  • [Kotlin] add multiplatform support #3900
  • [Kotlin][server] Add kotlin-vertx-server #3031

Nim

  • Add Nim client code generator #3879

PHP

  • [PHP] Correctly format JSON in headers #4024
  • Fix wrong variable name in LessThan and LessThanOrEqual asserts #3971

Scala

  • [scala][akka] Removed hardcoded baseUrl #3964
  • [scala] add [date-time] field to codegen unit test #3939
  • [scala][client] ScalaAkkaClientCodegenTest: refactor assertions #3893

Swift

  • [Swift4] update swift4 samples with swiftlint, update test scripts #4009
  • [swift4] update Alamofire from 4.7.0 to 4.9.0 #3999
  • [Swfit4] better support for type=string, format=number #3910

TypeScript

  • typescript-node: Add options to specify a form data file #3967
  • typescript-fetch: fix return type of primitive value #4028
  • [typescript][node]: Add accept header if produces is not empty #3966
  • typescript-fetch: Add application/x-www-form-urlencoded content support #3934
  • typescript-node: Fix cookie auth, fix multiple API key auth #3927
  • [typescript][fetch] Fix null typing errors #3919
  • typescript-fetch: fix missing comma in multiple imports #3881
  • typescript-node: Use HttpError class when rejecting promises #3876
openapi-generator - v4.1.2 released

Published by wing328 about 5 years ago

Another bi-weekly patch release. v4.1.2 comes with a new generator to convert OpenAPI (v2, v3) into Protobuf schemas & gRPC service definition to help with the migration from REST APIs to gRPC services.

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

General

  • Fix remote spec handling and hash calculation #3826
  • [core] do not always cast to ArraySchema #3780
  • [Maven plugin] Allow configuring User-Agent via maven plugin, update readme #3777
  • [core] [regression] set parentName when a single possible parent exists #3771
  • [core] change JSON serialisation to be deterministic #3763
  • Support custom git repository #3757

C++

  • [C++][Pistache] Add missing setter for arrays #3837

C#

  • [C#] [netcore] Add missing files to the form request #3834
  • Fix warnings in the csharp-netcore client #3831

Dart

  • Adds Http Info To Dart Api #3851
  • [Dart] Fix README template and update testing doco #3809
  • [Dart] Don't create redundant samples #3800
  • Fix Dart2 default template #3790
  • Add flutter web support on jaguar dart #3786
  • Fix dart2 custom templates #3656
  • Manage enum properly on Dart Jaguar generator #3654

Haskell

  • [haskell-http-client] bump deps to LTS 14.3 #3762

Go

  • [client][go] Avoid duplicated reflect imports #3847

Java

  • [Java][okhttp-gson] fix failure to deserialize floats #3846
  • Fixed bug where nullApi.java is generated instead of DefaultApi.java #3821
  • [java-client][rest-assured] add jackson support in addition to gson #3795
  • [java] add jackson-databind-nullable dependency to the gradle.build file #3793
  • [java-client][java-jaxrs-server][jackson] Add @JsonPropertyOrder to models #3778
  • [java] fix ClassCastException in toDefaultValue() #3765
  • [java][client] Add a "serializationLibrary" option #3759

JavaScript

  • Fix regexp fails on Windows because of backslashes in the path #3802

Kotlin

  • [Kotlin][client] Support gson and moshi as serialization libraries #3734

Protobuf

  • Add gRPC Protobuf schema generator #3818

TypeScript

  • typescript-axios: Fix base options #3866
  • typescript-inversify: improve check for required parameters, support multiple media types #3849
  • typescript-fetch: add option for TypeScript 3.6+ compatible generation #3801
  • typescript-angular: Set Content-Type for multipart requests in angular #3779
  • [typescript-fetch] fix serialization/deserialization with inheritance #3767
  • [typescript-rxjs] support HEAD method, improve formatting #3766
  • [typescript-axios] @ts-ignore possible unused imports #3742
  • [typescript-angular] allow empty string basePath #3489
openapi-generator - v4.1.1 released

Published by wing328 about 5 years ago

v4.1.1 (patch release) comes with 90+ PRs from the community. Thank you.

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

General

  • [core] Set isMultipart=true for multipart operations, fix possible NPE #3750
  • Better support for multipart #3736
  • [core] process TRACE operation #3648
  • Fix imports and property name when using anyof/oneof in services #3639
  • autoupdating generator script: userdef cache dir #3631
  • Fix composed properties missing from allVars #3616
  • Fix callback request and response not being flattened to InlineObjects #3398
  • [CLI][GENERATOR] NullPointer when not setting outputDir (updated) #3752
  • [maven] Support user overrides for serverVariables (carryover from #3363) #3609
  • [cli][gradle] filter deprecated generators by default when listing available generators #3612
  • [core][maven][gradle] User-defined server variable substitutions #3363
  • Update to swagger-parser to 2.0.14-OpenAPITools.org-1 #3737
  • Update Mockito to the latest stable version 3.0.0 #3732

Avro Schema

  • Minor enhancements to the Avro schema generator #3728
  • Add new Apache Avro schema generator #3662

C++

  • cpp-qt5-client: Improve tests #3667
  • cpp-qt5-client: add valgrind memory test #3663
  • cpp-qt5-client: fix memory leak in api-body #3661

C#

  • [csharp] Update UserAgent in the async version of ClientAPI execute method #3723
  • [csharp-netcore] Making HTTP response headers dictionary case-insensitive #3707
  • [aspnetcore] Fix nullable enum and duplicate model #3622
  • [aspnetcore] Add max/min length attributes for models #3588
  • [aspnetcore] Add TypeConverter for enum string conversion #3557

Dart

  • [Dart] Avoid redundant null checking in fromJson #3632
  • [Dart] Make clients crossplatform #3608
  • [Dart Jaguar] manage nullable definition #3599

Go

  • [Go] add option to use class as enum prefix #3675
  • Guarantee a unique name for the constants that represent enum values #3644
  • [Go] URLEncode path parameters #3643
  • Import Go package with leading underscore #3634
  • [Golang][Client] Fix collectionFormat=multi request bug #3390

Java

  • [java][client][java11-native] Https protocol schema is not handled correctly in java 11 native code #3730
  • [java][client][resteasy] support bearer authentication #3706
  • [java][client][resteasy][jersey2][google-api-client][okhttp-json] several fixes to make sent requests more accurate #3703
  • [java][client][vertx] Two tiny fixes for Java Vertx client #3683
  • [java][client][java11-native] Use javax.annotation.processing.Generated for Java 11 native client #3637
  • [java][client] set collection to null when not required #3615
  • [java][client] make it possible to send explicit nulls for nullable fields #3474

JavaScript

  • Use the latest version of superagent #3579

Kotlin

  • [Kotlin-client] Fix null assignation to header/query param map #3749
  • [Kotlin-client] Authentication support #3722
  • [kotlin] Change Kotlin client exceptions to expose lack of support as UnsupportedOperationException rather than NotImplementedException #3611
  • Various fix for Kotlin templates #3504

PHP

  • [Slim] Distinction between basicBasic and basicBearer authentication #3621

Python

  • [BUG][Python-Flask] Primitive type bytearray deserialization missing in util.py #3642
  • [Python] support api key refresh in configuration module #3594
  • [Python] avoid unnecessary dictionary lookup in get_api_key method #3592

R

  • [R] Updating api docs to include HTTP response codes and their corresponding headers #3699
  • [R] feat(r): handling error response for 3xx cases #3571

Ruby

  • Fix runtime error in the model's valid? of Ruby client #3671
  • [Ruby][faraday] Properly pass verify_mode to faraday #3652

Rust

  • [Rust Server] Support Bearer based Authentication #3606
  • [Rust Server] Frunk - LabelledGeneric - support #3552

TypeScript

  • [typescript-fetch] prefix request interface #3740
  • [typescript-angular] Encode objects for multipart/form-data with JSON #3738
  • [typescript-fetch] namespacing the generated request object types #3695
  • [typescript-fetch] Add nullable support #3645
  • typescript-angular: Add correct library versions for Angular 8.0.0 #3619
  • typescript-axios: If the return type is empty, it should be void instead of Response #3617
  • [Typescript] Fix typescript-inversify compiler errors #3607
  • typescript-fetch: Fix type errors in generated code #3605
openapi-generator - v4.1.0 released

Published by wing328 about 5 years ago

v4.1.0 (breaking changes with fallback) released with 4 new generators/libraries:

  • OCaml client generator: ocaml
  • NodeJS Express server generator (alpha): nodejs-express-server
  • Java 11 native HTTP client library: --additional-properties library=native
  • Ruby Faraday client library: --additional-properties library=faraday

Thanks for the OpenAPI Generator community to help move the project forward with another minor release.

We've also launched a new Slack workspace. Please join to discuss OpenAPI Generator.

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

General

  • Better handling of dot in inline model name #3498
  • [fix] Assign template directory to additional properties #3385
  • Updates to address recent lodash Object prototype vulnerability #3348
  • [openapi-yaml] Prerequisities for Swagger 2 template #3202
  • [core] Initial implementation of a validation framework in core #3183

Bash

  • Bash skip empty query param fix #3290

C#

  • [C#][client][csharp-netcore] Fix csharp netcore defaultheaders #3562
  • Fix logic of getNullableType of csharp server and client #3537
  • Fix DateTimeOffset nullable issue #3530
  • [aspnetcore] Support cookie parameter #3490
  • Adds default property values in ASP .NET Core models #3369

C++

  • [C++][Pistache] Do not use JSON for primitive types in request body #3509
  • [C++][Qt5] Remove QRandomGenerator #3508
  • Add modelNamePrefix option for qt5 #3431
  • qt5 client: strip whitespace #3406
  • [C++][Pistache] Add compatibility for nlohmann-json 3.5.0 #3306
  • Fix issue deserializing to nullptr #3572

Dart

  • [dart-jaguar] Fixes error accessing default converters #3361
  • [dart-jaguar] Adds option to customise the generated API client name #3234

Go

  • [Go][experimental-client]: make struct members pointers, provide custom marshalling #3371

Java

  • [java][client][jax-rs] Add a constant for Jackson @JsonProperty #3560
  • [java-client][okhttp-gson] fixes for interceptors in ApiClient.java #3502
  • Expand path templates via resttemplate's uriTemplateHandler #3500
  • [Java][RestTemplate] remove wrong Null Check #3481
  • [Java] Replace "useNullForUnknownEnumValue" option with the nullable attribute #3455
  • [Java] add nullable support to the clients #3453
  • [Java] Fix numeric field names #3436
  • Java 11 native HTTP client library #3434
  • [Java] add nullable annotation to pojo template for non-required fields #3409
  • [java rest-assured] prevent reqSpec reuse between requests #3375
  • [JaxRS-Spec] add openApiSpecFileLocation parameter #3344
  • [java] Support for number enum #3328
  • java-springcloud: No dependency management if parent overridden #3301
  • Enable async option for spring-cloud library #2670
  • Fix invalid spring properties prefix #3501
  • [java-client][okhttp-gson] support bearer authentication #3236

JavaScript/NodeJS

  • Add a new NodeJS Express server generator #3567
  • Upgrade babel packages for Javascript ES6 generator #3424

OCaml

  • [OCaml] Add file post-processing #3568
  • [OCaml] Response headers were not processed for enums collection #3526
  • [OCaml] various enhancements #3483
  • [OCaml] new client generator #3446

PHP

  • Fix PHP Symfony non-primitive return type being forced to be an array #3515

Python

  • [Python][server] Use range for dependencies in python-flask #3470

Rust

  • [rust] Stop deriving Eq for models #3463
  • [Rust][Client] Correct the Rust client generated documentation #3419
  • Better Rust client imports #3332
  • Fix enum types in structs #3309
  • [Rust Server] Support multipart/form_data request bodies #2846
  • [Rust Server] Generate valid Rustdocs for lazy_static items #3556
  • [Rust Server] Allow more than 32 configured paths #3494

R

  • [R] updated example in doc(.md) file #3429

Ruby

  • [Ruby] clean up Ruby dev dependencies #3551
  • [Ruby] remove auto-generated Gemfile.lock #3541
  • [Ruby][faraday] add TLS setting support #3527
  • [Ruby][Faraday] Various improvements #3520
  • [Ruby] add support for "faraday" #3405
  • Ruby-client: Don't encode slashes if strict-spec false #3204

Swift

  • [Swift4] Introduce XcodeGen #3396

Scala

  • [scala-play-server] Correct CLI option name #3340

TypeScript

  • typescript-fetch: allow configuration of headers and credentials #3586
  • [typescript-angular] fix string casting #3558
  • [typescript] change accessToken name parameter to optional #3555
  • typescript-fetch: Properly detect and encode container request body param #3517
  • [typescript-rxjs]: support reponseType blob #3437
  • typescript-axios string date format #3423
  • [typescript-rxjs] runtime and api cleanup #3316
  • [typescript-angular] use correct package with http-client #3465
  • [Typescript Axios] fix Content-type not set properly #2695
  • [typescript-node] fixed enum generator for top level enums #2266
  • Added serialization support for typescript on complex object headers #1874
  • Support importMapping definitions for TypeScriptNodeClientCodegen #3469
  • [typescript-angular] add flag for using string enums #3464
  • [typescript-node] Promise-based Authentication interface #3408
  • Fix NPM build for Typescript-fetch #3403
  • [typescript-angular] Add encoder configuration, fix default encoder #3389
  • typescript-fetch: fix basic type errors #3380
  • [typescript-fetch] support custom stringify for query string #3327
  • [typescript-fetch] Fix collection formats reference #3324
  • [typescript-fetch] Fix access token type #3323
Package Rankings
Top 1.33% on Repo1.maven.org
Top 4.1% on Pypi.org
Top 3.04% on Proxy.golang.org
Badges
Extracted from project README
Stable releases in Maven Central Apache 2.0 License Open Collective backers Join the Slack chat room Follow OpenAPI Generator Twitter account to get the latest update Contribute with Gitpod Conan Center Revved up by Develocity Build Status Integration Test2 Windows Test Bitrise NamSor LightBow Linode Linode Logo