An open API service for software projects hosted on Open Collective.

OpenAPI Generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Collective - Host: opensource - https://opencollective.com/openapi_generator - Website: https://twitter.com/oas_generator - Code: https://github.com/OpenAPITools/openapi-generator

[java] improve petstore tests with openapi v3 spec (#16447)

* regenerate tests in jersey2-java8 client

* update samples

* fix java google api client t...

github.com/OpenAPITools/openapi-generator - 8386a6eaafc7baafb9617f00752dc34bdaae7eae authored almost 2 years ago
fix cast exception in uuid default value (julia) (#16438)

github.com/OpenAPITools/openapi-generator - 611a60411bc1fb3c56b4e449960e6359512d583e authored almost 2 years ago
Fix UUID default value cast exception (swift5) (#16436)

github.com/OpenAPITools/openapi-generator - b1564d80023e5cb3cefdeb41d2c7050dfc731433 authored almost 2 years ago
update golang.org/x/net v0.2.0 to 0.7.0 (#16148)

github.com/OpenAPITools/openapi-generator - b14f99df9216a24ad28aa3a76d5c451210b70d5f authored almost 2 years ago
fix cast exception in default value of uuid (objc) (#16437)

github.com/OpenAPITools/openapi-generator - 5ab1badbef76c741139f33624930ba11785fc397 authored almost 2 years ago
Fix cast exception in uuid default value (haskell-http-client) (#16439)

* fix cast exception in uuid default value (haskell-http-client)

* better code format

github.com/OpenAPITools/openapi-generator - 9b6e6b3e4935ad2f3014634a28cfde4f7a54232d authored almost 2 years ago
fix cast exception in array default value (java gen) (#16434)

github.com/OpenAPITools/openapi-generator - b5867ebf2beb7af7b826815098b0f2ca06b294c0 authored almost 2 years ago
add test to invoke each generator and catch simple crashes (#16425)

* add test

* remove unused imports

* remove SmartBear copyright line

* use 3.0 input

github.com/OpenAPITools/openapi-generator - 020415facc1ec3f86129c7314e9709bf8dffd54c authored almost 2 years ago
fix uuid example cast exception in python generators (#16432)

github.com/OpenAPITools/openapi-generator - b457c3de709f82cf58d8ac39e28d569446b399ce authored almost 2 years ago
better handling of null pointer in CodegenSecurity (#16433)

github.com/OpenAPITools/openapi-generator - 1a654eba5c03379e16f37e58bf95fa005529c78e authored almost 2 years ago
[ruby] Not symbolize header param keys to allow the usage of underscore ("_") character (#16396)

* [ruby] Not symbolize header param keys to allow the usage of underscore ("_") character

* u...

github.com/OpenAPITools/openapi-generator - 56105fbbe66dbbb555cc0e0a3344eabd36ea7fd1 authored almost 2 years ago
[Ruby] align indentation (#16423)

github.com/OpenAPITools/openapi-generator - 21cbd1ab71839fcc3a1e036ccd5527b87e65d72d authored almost 2 years ago
issue15126: restore default support for golang generator (#15127)

github.com/OpenAPITools/openapi-generator - 6310ecdb0fffba30bea7d25338aa341175cf560c authored almost 2 years ago
Fix 16417: [Ada] Server generation fails for some response types (#16421)

* Fix and improvement of Ada server code generator

- add support for EWS (Embedded Web Server...

github.com/OpenAPITools/openapi-generator - 0dcd8b42b0d5e9abaf38f4c9feed2c8b91674ff5 authored almost 2 years ago
Update kotlin-client okHttp3 api.mustache fixes 16410 (#16411)

- populate body into the ServerException message

github.com/OpenAPITools/openapi-generator - ec835fbd948cf1223c1d899c2859019cef4653a9 authored almost 2 years ago
Update api.service.mustache (#16406)

Fix miscast types. At compile time, it says it can't find toISOString because the parameter is o...

github.com/OpenAPITools/openapi-generator - 0f8f18e72711727837bb23f47ffd55304c85e856 authored almost 2 years ago
Prepare v7.0.1 (#16409)

* prepare 7.0.1 in master

* update doc

github.com/OpenAPITools/openapi-generator - 80121aa88fc1590c36423ec327a07aef03e8ab01 authored almost 2 years ago
wrap operand listOf (#16408)

github.com/OpenAPITools/openapi-generator - c7100b9e6101c2182e3dbfdbbe13205c5f4faeca authored almost 2 years ago
prepare v7.0.0 release (#16407)

github.com/OpenAPITools/openapi-generator - c37fa8a4e8399ebd76d7f190136fd4b851c9aa7e authored almost 2 years ago
fix scalatra on Windows (#16395)

github.com/OpenAPITools/openapi-generator - ad7ce7cba69031ffe6406d0cc0a84d4b2a3feadf authored almost 2 years ago
Adding model type hints for Python Flask (#16382)

Co-authored-by: Baptiste LE MORLEC <[email protected]>

github.com/OpenAPITools/openapi-generator - 26899ee59b2f9260c91b8ca15636c53cde880045 authored almost 2 years ago
use propertyBaseName instead of propertyName (#15668)

Since it is looking at the payload before the transformation it should use the "original name" a...

github.com/OpenAPITools/openapi-generator - 9cda7b09654dbdaf972eab5fabd990f94bbd9796 authored almost 2 years ago
Add supportedMediaTypes needed for kubernetes client (#16386)

* Add supportedMediaTypes needed for kubernetes client

https://github.com/kubernetes-client/j...

github.com/OpenAPITools/openapi-generator - 35f6eec71d70602c2eae4c3783b3da0cae5667ef authored almost 2 years ago
Add mapping features to Julia generators (#16370)

* add mapping features to julia generators

* additional changes required for mapped names (#1...

github.com/OpenAPITools/openapi-generator - 91fc15145199525c82db3e89f3f48a01bd007ee5 authored almost 2 years ago
Lambda refactors (#16369)

* started source generator

* copy the options

* fixed visibility

* added new sample

...

github.com/OpenAPITools/openapi-generator - 7e67e3aafb85d57949ea0c383bb04812410616d0 authored almost 2 years ago
Bump s4u/setup-maven-action from 1.8.0 to 1.9.0 (#16388)

Bumps [s4u/setup-maven-action](https://github.com/s4u/setup-maven-action) from 1.8.0 to 1.9.0.
...

github.com/OpenAPITools/openapi-generator - da411b3f3f29b3258478f3349aa98d955acd831d authored almost 2 years ago
[typescript] add http info calls to access headers (#16260)

* [typescript] add http info calls to access headers

* [typescript] add http info calls to ac...

github.com/OpenAPITools/openapi-generator - 6146129bdc3993ee7b2eedabbc476e21bf8fdd49 authored almost 2 years ago
[Kotlin-Spring] fix arrays response api after generation (#16296)

* issues/16295 fix arrays response api after generation

* fix samples

* fix samples

---...

github.com/OpenAPITools/openapi-generator - 3e950019399afa0300db50a45172737f1208270d authored almost 2 years ago
[python-flask] adopt python3.5+ syntax (#16375)

* adopt python3.5+ syntax

removing some residual python2 code, since it is not supported anym...

github.com/OpenAPITools/openapi-generator - 00de163655d41b0ae622a8bf31cce110101e11ba authored almost 2 years ago
Fixing spelling of circiut => circuit (#16381)

github.com/OpenAPITools/openapi-generator - 646ec8ba41402f9fc580ef5fdbf381f7d8f9ecb7 authored almost 2 years ago
allow check for path parameters in matrix style (#16331)

* isMatrix added

* tests for isMatrix flag added

github.com/OpenAPITools/openapi-generator - bb507d5e6c750ddbbedf13731ac9866fb1f1cebb authored almost 2 years ago
Add mapping features to Abstract C++ Codegen (#16373)

* add mapping feature to cpp abstract codegen

* better code format

github.com/OpenAPITools/openapi-generator - 85d7b380847bad046db479cb6832e21c548b6db5 authored almost 2 years ago
add mapping features to c client generator (#16371)

github.com/OpenAPITools/openapi-generator - 9c9c45a73e3192c52f961ef4e89ac1e805192115 authored almost 2 years ago
[BUG] C# Aspnetcore Adding Name property for header parameters (#16360)

* Adding Name property for header param

* update samples

* update samples

* update doc
...

github.com/OpenAPITools/openapi-generator - 32fe92fee92738b90137b1022480122604769547 authored almost 2 years ago
fix: memory leak with restclient (#13961) (#16365)

github.com/OpenAPITools/openapi-generator - 1a458d3e0b23e9ba744123e2ea42009c5f588b5d authored almost 2 years ago
remove flash codegen (#16372)

github.com/OpenAPITools/openapi-generator - 656d2c22635f24184d724a9e8785d7270503018c authored almost 2 years ago
[PHP] 6.0.x make php implementation depend on meta packages for http client (#16368)

* add psr-18 support

* update doc

* fix test

github.com/OpenAPITools/openapi-generator - d9423a4edb6e5c1e39696ab436aba3b0f2477fe3 authored almost 2 years ago
[BUG][kotlin-client][multiplatform] Write data to packet (#16367)

* fix: write data to packet

* docs: update samples

github.com/OpenAPITools/openapi-generator - 2815e6a5386addc64466e690a538d18274d3f14d authored almost 2 years ago
[BUG] [java][jersey2/3] clientBuilder gets overwritten after call to customizeClientBuilder (#16355)

* [java][jersey2/3] call customizeClientBuilder after default config init

* regenerate the sa...

github.com/OpenAPITools/openapi-generator - 7f7717498fd39e340dc7eec663d06e58271b9ab1 authored almost 2 years ago
only one JsonConstructor (#16361)

github.com/OpenAPITools/openapi-generator - a600ef0ded26bbaea4156b64c124e60fd19592d7 authored almost 2 years ago
[csharp] JsonConverter.mustache - fix propertyName variable conflict (#16356)

* JsonConverter.mustache - Obfuscate "propertyName" variable to rare name "__jsonPropertyName__"...

github.com/OpenAPITools/openapi-generator - e1b1b7d0c716c30be02046f4f2d486a0ca33cc9f authored almost 2 years ago
Update go-gin-server templates to return a configurable library (#10479)

* Update go-gin-server templates to return a configurable library

Before this change, the use...

github.com/OpenAPITools/openapi-generator - a55453b5f7cd0656d7c031918923f6077df66878 authored almost 2 years ago
[kotlin-client][multiplatform] HttpClient can now be passed as an argument to ApiClient (#16343)

* [kotli-client][multiplatform] Added to inject HttpClient into the argument of ApiClient

* [...

github.com/OpenAPITools/openapi-generator - 141b3d4e0bb7016ace9dd62c35115aa8b60e840a authored almost 2 years ago
[java] Remove hardcoded arrays in template (#16340)

* remove hardcoded arrays in template

* better model import in java client

* update

* b...

github.com/OpenAPITools/openapi-generator - ff198256107bf21772b818ffd4488540774f15b6 authored almost 2 years ago
Improve documentations (#16346)

* improve doc

* update urls

github.com/OpenAPITools/openapi-generator - b006b1b128697e644a3d0aa888c73839e24c56c5 authored almost 2 years ago
[Kotlin Client] Implement octet-stream/binary (#16341)

* Implement octet-stream/binary for Kotlin client code generator

* Fix OkHttp3 generator flavor

github.com/OpenAPITools/openapi-generator - 778a53a4069cf522cfbe8c045b8bf65671a394e8 authored almost 2 years ago
Array default value requires import of java.util.Arrays (#16246)

github.com/OpenAPITools/openapi-generator - a9a4aa4bf8c7dd52bad270534ab646e0430aef7c authored almost 2 years ago
[kotlin-multiplatform] Fixed build error when setting formdata in array (#16329)

github.com/OpenAPITools/openapi-generator - c3c0188bf4a79ddb96ff6ffca281b9a0fb12e966 authored almost 2 years ago
[kotlin-client][multiplatform] Added support enum query parameter (#16327)

* [kotlin-multiplatform] add enum parameter support

* [kotlin-multiplatform] update generated...

github.com/OpenAPITools/openapi-generator - 2e17653ae85b8f2f6a270015c3e7a71661591799 authored almost 2 years ago
[JAVA] [WebClient] Handle list of String special case in WebClient generator (#16326)

* [Java][WebClient] support string list return type

* [Java][WebClient] add test

* [Java][...

github.com/OpenAPITools/openapi-generator - 4f6a25f4b51fff02ab146fdc80a16a40f2813eba authored almost 2 years ago
[csharp] Fixed model property data type (#16315)

* fixed model property data type

* build samples

github.com/OpenAPITools/openapi-generator - 76bb8a40d8ec2b45ea32fc11a6e3fdee34c0e681 authored almost 2 years ago
Update the SumUp logo to the new logo (#16323)

This commit only updates the sumup logo to the latest logo

Co-authored-by: Yonatan Karp-Rudin...

github.com/OpenAPITools/openapi-generator - 35fec8da0ed88ee36a12831223fa08442143ee43 authored almost 2 years ago
Add SumUp to the list of clients (#16322)

This commit adding SumUp into the list of companies that are using OpenAPI Generator.

Co-auth...

github.com/OpenAPITools/openapi-generator - c3c7a547b79ba6a5896f1982de362962f4c4af45 authored almost 2 years ago
fix missing comma in kotlin api client (#16320)

github.com/OpenAPITools/openapi-generator - bcd934d15a5318ffd0e41ca71296818106d014ec authored almost 2 years ago
remove python flask py2 samples (#16319)

github.com/OpenAPITools/openapi-generator - f1bacd23e77ce052a65ca44fdff314483f31da25 authored almost 2 years ago
Clean-up - Unnecessary trailing underscores in Python Flask, AIOHttp, BluePlanet (#16249)

* Remove trailing underscore in security_controller_.py and base_model_.py

* Regenerating sam...

github.com/OpenAPITools/openapi-generator - 931197a1cd589fdad00b25e97d205b96e0442939 authored almost 2 years ago
fixed class definition (#16318)

github.com/OpenAPITools/openapi-generator - 47020f10b79f243c13bb26613691601a7d7c15d1 authored almost 2 years ago
[csharp] Fixed operation nested return type (#16314)

* fixed operation nested return type

* more robust fix

github.com/OpenAPITools/openapi-generator - ef9520f9899154174a40e86069eb236b144cf6d0 authored almost 2 years ago
Fix Retrofit template with Jackson for Kotlin (#14239)

* Fix Retrofit template with Jackson (Fix #8147)

This commit amends the `ApiClient` template ...

github.com/OpenAPITools/openapi-generator - 83af0196030525dd7fe32643e14cb35992f8f6fb authored almost 2 years ago
Update CMake to fix cpprest linking for UNIX (#14199)

github.com/OpenAPITools/openapi-generator - 2ef888845db9ee90c34ccee087093af50a28a3ec authored almost 2 years ago
feat(swift5): allow to swift build in linux (#15060)

* feat(swift5): allow to swift build in linux

* chore(ci): add .github/workflows/samples-swif...

github.com/OpenAPITools/openapi-generator - 604239abba8d2bfcec3c29a9a82244c9a4711866 authored almost 2 years ago
[Java][Client] Microprofile Jackson serialization (#15940)

github.com/OpenAPITools/openapi-generator - 057bc8e6269c30a56c171ab9cf258488b314a8ba authored almost 2 years ago
moved regex processing (#16309)

github.com/OpenAPITools/openapi-generator - 1878c45be57905387a4319e624d29250734793b7 authored almost 2 years ago
removed nonexistant account (#16310)

github.com/OpenAPITools/openapi-generator - f4dfd99566de6d9d3228a29d20d3ab0d50f517b4 authored almost 2 years ago
fixed zapier removeKeyPrefixes method (#16305)

github.com/OpenAPITools/openapi-generator - 8f9e6432f58b8b9dffd843ae8116def27b0ecd04 authored almost 2 years ago
[go] fix issue that tempfile is not deleted (#16303)

* #15131 Issue: Tempfile is not deleted

* delete tempfile in go client

---------

Co-aut...

github.com/OpenAPITools/openapi-generator - 2635b52b42b946fe8a2b0c87d551273f9be484b9 authored almost 2 years ago
minor enhancements to ts rxjs generator (#16302)

github.com/OpenAPITools/openapi-generator - 888570164887273d55cf7f41e42312c41f7fec75 authored almost 2 years ago
Fix removing dollar sign for name sanitization (#16301)

* fix replacing dollar sign

* try to add tests
add list import
add missing imports
import ...

github.com/OpenAPITools/openapi-generator - 9d100d8f6bdd871690faf19dfa1fa4b942827440 authored almost 2 years ago
[typescript-rxjs] Update servers.mustache (#9449)

* Update servers.mustache

add hasOwnProperty checking; use const instead of var

* use 4 sp...

github.com/OpenAPITools/openapi-generator - a33c353a2689db4fb954d3a8df3760f22ce04e3e authored almost 2 years ago
Feature suppoert dart sample code in html2 generator (#7908)

* Add dart example

* Run `./bin/generate-samples.sh ./bin/configs/other/html2.yaml`

github.com/OpenAPITools/openapi-generator - cc496ff2ebfd7351b1afaaf9ad4b40ca0b984b02 authored almost 2 years ago
Issue#15129 Feature Request Description (#16299)

Co-authored-by: Aniruddh <[email protected]>

github.com/OpenAPITools/openapi-generator - 590430c774869a175a90c1068b1f7bd10fc34eae authored almost 2 years ago
add tests for array of number in java okhttp client (#16298)

github.com/OpenAPITools/openapi-generator - 3ad3cf7dd95a7a3f96086a1f0f037f8813919c9d authored almost 2 years ago
Improve type reference in toEntity call in order to fix issue with LinkedHashMap being returned instead of maped object to POJO (#16293)

github.com/OpenAPITools/openapi-generator - e8160d8d7d86b48d07fc7d2b38c64916162edf47 authored almost 2 years ago
[python] Fix data type (#16291)

* fix data type in python client codegen

* add model mapping feature

github.com/OpenAPITools/openapi-generator - fd12bb3508d3e5492690318b3a78c01143d93e44 authored almost 2 years ago
Fix Java GSON client not accepting optional null arrays (#16213)

* Add check for null JSON array in GSON Java api client

* Update samples

github.com/OpenAPITools/openapi-generator - 7a7309edb87902a92d4d0e7b142e4c17dfe5e2b3 authored almost 2 years ago
add tests, workflow for haskell samples (#16290)

github.com/OpenAPITools/openapi-generator - 36cb3ce6b9052c16e71bb2893b111e9bd2eca251 authored almost 2 years ago
[haskell-servant][haskell-yesod] fix specialCharReplacements (#16289)

HaskellServantCodegen and HaskellYesodServerCodegen modify
specialCharReplacements by replacing...

github.com/OpenAPITools/openapi-generator - 9f051ec640abcbb4826a4ecc46651219350bafee authored almost 2 years ago
Add annotations to the operation - case permission validation - Fix 12219 15822 (#16259)

* fix #12219 #15822

* add test with array

* update samples

---------

Co-authored-by:...

github.com/OpenAPITools/openapi-generator - d955ff6988470c051eb71d83d0e0e9a7c5f8570c authored almost 2 years ago
fix travis build (#16288)

github.com/OpenAPITools/openapi-generator - 84d619b883e98198af7994890509d0ba6a637a15 authored almost 2 years ago
Ensure enum classes toString() returns kotlin.String (#16247)

When creating an enum where a valid value is `String`, the override of toString() will be the wr...

github.com/OpenAPITools/openapi-generator - 75b04bb96598f4b4faeb116d487f4b10cbaced87 authored almost 2 years ago
Add additional reserved words for java and csharp (#16276)

Co-authored-by: Jonathan Wenger <[email protected]>

github.com/OpenAPITools/openapi-generator - d9001b8a6f93b5ca16be8bccce796d2ebff7aa48 authored almost 2 years ago
[Dart/CSharp/Python] replace File.separator with slash (#16282)

Signed-off-by: ふぁ <[email protected]>

github.com/OpenAPITools/openapi-generator - a3d14c87c4d9374c0c3c04f3a9ddb331bd0cb2a2 authored almost 2 years ago
[spring] reactive: fix Content-Type (#16228)

* don't set content-type to client's value

* revert manual sample change

* better fix

*...

github.com/OpenAPITools/openapi-generator - 3ed59cd5939084dad009b07b9abbb5ea6d03e5aa authored almost 2 years ago
[Python] refactor pydantic model methods into abstract python codegen (#16279)

* refactor methods from python client to abstract python codegen

* refactor regular expressio...

github.com/OpenAPITools/openapi-generator - 3d064c61151d8c7d4938df9a83e8c67ae8fa6bb1 authored almost 2 years ago
[python-nextgen] Fix `noqa: E501` position (#16280)

* Fix `noqa: E501` position

Signed-off-by: ふぁ <[email protected]>

* [python-nextgen] updat...

github.com/OpenAPITools/openapi-generator - f3b930c48cf76ff38ed1064ba4eac98724ede09f authored almost 2 years ago
Updating Maven-Plugin Dependencies (#16274)

* bugfix-15672 updated mavenplugin dependencies

* bugfix-15672 re-added maven-compat since ne...

github.com/OpenAPITools/openapi-generator - 7703560e73045ff255c2999a9401de8a5fbae40b authored almost 2 years ago
[csharp] Improved regex support (#16269)

* improved regex support

* better parsing of options

* better handling of options

* spa...

github.com/OpenAPITools/openapi-generator - de8f8466667c86624b1c6d267a9ea3d1f65b5879 authored almost 2 years ago
update kotlin client dependencies (#16273)

github.com/OpenAPITools/openapi-generator - 362b596fceb3fadac329c2d15e196e414cabbc8d authored almost 2 years ago
mark java-okhttp3 option as deprecated in kotlin client (#16272)

github.com/OpenAPITools/openapi-generator - 29c5d6109aa8577280ef2af17424c1c4ac290f31 authored almost 2 years ago
[kotlin-spring] minor bug fixes (#16270)

* kotlin-spring: minor bug fixes

* comment out tests

github.com/OpenAPITools/openapi-generator - a9cfa1f391797f95431cf959567eb8c4365ab662 authored almost 2 years ago
[kotlin] Escape dollar sign in baseName (#16266)

* escape dollar sign in baseName (kotlin)

* escape dollar sign in kotlin server jaxrs-spec te...

github.com/OpenAPITools/openapi-generator - 50ee574d1f5814bc8565aa4c9b5d0a9bebe7511f authored almost 2 years ago
[go-server] Partially reverts and fix #15185 (#16258)

* Partitally reverts #15185

* Remove unused import

* Set zero value if param is empty

*...

github.com/OpenAPITools/openapi-generator - 2b44d4ed93a7ed614f3429f45615a069d5ff23db authored almost 2 years ago
add martin-mfg to java, spring (#16271)

github.com/OpenAPITools/openapi-generator - 4e5bd8a30ab1cdfcac89d5b596d55266ce66fb7d authored almost 2 years ago
[spring] fix void return type for useResponseEntity: false (#16230)

* fix return type

* add new sample config as test for the fix

* update samples

github.com/OpenAPITools/openapi-generator - 6a3f0ffb37c48a7d48f32255bc1e54a56e959c6c authored almost 2 years ago