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

[Ruby] Add support for populating a gem metadata (#16872)

* [Ruby] Add support for gems metadata

This defaults to an empty hash, but can be overridden ...

github.com/OpenAPITools/openapi-generator - ae590c47120d0d63ea649438f51cc6c77c52dc3d authored almost 2 years ago
Update ktor client version for custom plugin support (#16869)

* Update ktor-client version to 2.3.5

* Update ktor-client version to 2.2.3

github.com/OpenAPITools/openapi-generator - f16744a2bb7d72518f93e216773afa00e0af6479 authored almost 2 years ago
[Go-Server] Add support for DateTime Query Parameters (#16749)

* Add support for DateTime objects in the Path, Query Params, and as a List

* Fix indentation...

github.com/OpenAPITools/openapi-generator - bf9fae641e178391d0539b7c9232cef61b2ece6a authored almost 2 years ago
Bump jurplel/install-qt-action from 3 to 4 (#16885)

Bumps [jurplel/install-qt-action](https://github.com/jurplel/install-qt-action) from 3 to 4.
- ...

github.com/OpenAPITools/openapi-generator - 5f71bb9afa0cb65961bb66e364e0ab83ecfdd3aa authored almost 2 years ago
fix(nestjs) fix import in api module template (16670) (#16671)

* fix(nestjs) fix import in api module template (16670)

* fix(nestjs) fix import in api modul...

github.com/OpenAPITools/openapi-generator - 7347daec61b2cb8d3d28e1ed06fe8b5e682090f8 authored almost 2 years ago
[zapier] Zapier generator minor fix (#16845)

* fixed childMapping method

* updated samples

* fixed deps

github.com/OpenAPITools/openapi-generator - 77687a8ea59f97519731f345308d3615e2f6e500 authored almost 2 years ago
chore: remove unused commons logging imports from java webclient (#16839)

Co-authored-by: Ben Madore <[email protected]>

github.com/OpenAPITools/openapi-generator - d6421411c91af2dd3820b4a85cbfc1c4eb2c84ce authored almost 2 years ago
[Bug] [Java] Upgrade Guava version to 32.1.3 (#16833)

* #16832: Upgrade Guava version to 32.0.1

* #16832: Upgrade Guava version to 32.1.3

github.com/OpenAPITools/openapi-generator - 8feef52d6bc9c9c96fd5d2bd40d3189681a4cf20 authored almost 2 years ago
[Go-Server] Support for an endpoint returning a file to the client - #15206 (#16748)

* Support for an endpoint returning a file to a client.

* Spaces to tabs conversion

* Add ...

github.com/OpenAPITools/openapi-generator - e0738a6e4280f43b53643ce62e1c5b78db184563 authored almost 2 years ago
[Go-server] - Support for Enums in the Path and Query (#16781)

* Add support for Enums to be part of the Path and Query
Supports optional Query Enums and List...

github.com/OpenAPITools/openapi-generator - 1dd95900640479026de568479a24b2f8f1f13adc authored almost 2 years ago
[BUG][GO] Add support for all +json and +xml suffixed media types (#16816)

* Add support for all +json and +xml suffixed media types to generated Go client

* Export Jso...

github.com/OpenAPITools/openapi-generator - d1fa38e2865513e0a29ce33bfe3d9aaf338603f1 authored almost 2 years ago
Autoset constants (Required fields having single valid enum value) (#16761)

* Autoset constants (Required fields having single valid enum value) Python Implementation of #1...

github.com/OpenAPITools/openapi-generator - 2f214ee6c65bb5be440f63e1b689db755e0718cf authored almost 2 years ago
[PHP-Symfony] fix #15950: Add float to deserialize (#16835)

* [PHP-Symfony] fix #15950: Add float to deserialize

* Add test sample

* Add double

---...

github.com/OpenAPITools/openapi-generator - 8bb473316e2efef9b8055baca5e1aeefa51994ea authored almost 2 years ago
[JAVA] fix: oneOf generates incorrect model for primitive types (#16834)

* generate samples

* try fix

* add new sample for fixed case

* also improve native libr...

github.com/OpenAPITools/openapi-generator - b6db4f73f1892c1b031476a74807585819d427fe authored almost 2 years ago
chore: Simplify async/non-async api method templates (#16820)

github.com/OpenAPITools/openapi-generator - 438bf25a4768af3e419d42dac6d5a26d30e89be8 authored almost 2 years ago
Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator

github.com/OpenAPITools/openapi-generator - 769990d65435f3b2645b09d0c3cfd93e7383e668 authored almost 2 years ago
[BUG][GO] Replace references to sw package with {{packageName}} in README template (#16812)

* Replace references to sw package with {{packageName}}

* Update samples

github.com/OpenAPITools/openapi-generator - c5d6884c631f3f7b89ecdf0e288fba4c351a898c authored almost 2 years ago
fix broken link to conan.io

github.com/OpenAPITools/openapi-generator - 8db9af987309da72b8b581faecd4039e10c74cfb authored almost 2 years ago
[CSHARP] Added support for nullable Enums in the ToJsonValue method (#16801)

* Fixed C# nullabled enums and attribute reusage for generichost

* Samples

github.com/OpenAPITools/openapi-generator - 1fc0cec75fc56508f7db44400ffd2a242fe57f23 authored almost 2 years ago
[Postman Collection] Fix path parameter syntax (#16827)

* Format Postman request url

* Generate schema

github.com/OpenAPITools/openapi-generator - b4f9d8103f99faa26830c53eb792935499f86b65 authored almost 2 years ago
[php-nextgen] Remove deprecated @category phpdoc (#16829)

* [php-nextgen] Remove deprecated @category phpdoc

@category tag is deprecated accordingly to...

github.com/OpenAPITools/openapi-generator - 3bc4f67333f5529b4b5f5dd13ce4c61549675b22 authored almost 2 years ago
io/ioutil has been deprecated. (#16822)

Uses os.CreateTemp to create temp directory.
Uses io.Copy to avoid reading file into memory.

github.com/OpenAPITools/openapi-generator - 571aefa3da547f2968885cac0fe2110b411e04d2 authored almost 2 years ago
[go-server] Add tests, minor format change (#16805)

* add tests for #16787, minor format change

* revert

* fix typo

* use pet instead of fa...

github.com/OpenAPITools/openapi-generator - ba367e60e85392a7fd58cdb374c35c3aaaece872 authored almost 2 years ago
update python technical committee (#16806)

github.com/OpenAPITools/openapi-generator - 75ce5968bfe87affe174f01ad718aae69890d41e authored almost 2 years ago
Fix missing newline for file array in go-server/controller-api.mustache (#16787)

github.com/OpenAPITools/openapi-generator - 1dfdeaff591f6e5ab1b9dccea276a3693531bd77 authored almost 2 years ago
add rule to skip xUnit1031 (#16804)

github.com/OpenAPITools/openapi-generator - 34265e52b125cc0b9558d08c3c14cc3dd2741118 authored almost 2 years ago
version bump (#16657)

github.com/OpenAPITools/openapi-generator - 2cfce7cd2d54f42f0d64bc96c87829a2f99f58ce authored almost 2 years ago
Added support to skip creation of go.mod and go.sum in the Go client generator (#16766)

This adds support to avoid generating go.mod and go.sum for Go client.

By default it is set t...

github.com/OpenAPITools/openapi-generator - e3958cba75a89a07f8f18a2fef06a1763232fe5d authored almost 2 years ago
better NPE handling, log warn for const in 3.1 (#16786)

github.com/OpenAPITools/openapi-generator - fe5593836309850df29647716d50ca77b5a6489d authored almost 2 years ago
add mapping options to zapier client generator (#16785)

github.com/OpenAPITools/openapi-generator - 015f000f706416da9f92efc4f7adb99d95610500 authored almost 2 years ago
fix: Merge conflict from #16779 and #16777 (#16784)

github.com/OpenAPITools/openapi-generator - 384ff941ae9bae6da185a58cb20e6b047b10bbc8 authored almost 2 years ago
[python] Do not pydantic-validate function args twice (#16776)

* refactor: Use newlines in _with_http_info call

This prevents too-long lines and matches the...

github.com/OpenAPITools/openapi-generator - 2b6b3b088330f2ed4a57ac86ab928a57756cb787 authored almost 2 years ago
fixed zapier objects array mapping (#16780)

github.com/OpenAPITools/openapi-generator - bbf9ccd0c0ab22dc2fcb401f6202aab2d9c93d7f authored almost 2 years ago
[python] Fix unnamed dicts with additional properties (#16779)

* test: Add two extra models for testing

* Fix unnamed dicts with additional properties

Cl...

github.com/OpenAPITools/openapi-generator - f180aa0eecaa0cba8d33e4f0e5d5b697f824c6e0 authored almost 2 years ago
docs: Improve docstring in to_dict() method (#16777)

It was often confusing to me why this method is even there.

Also using more line breaks and m...

github.com/OpenAPITools/openapi-generator - 7af459396c19e90988dcc3a8fd37e3092a984f8c authored almost 2 years ago
fix ecdsa signing issue. (#16772)

github.com/OpenAPITools/openapi-generator - 1bbbb73690caa670a5dd4ea55de3fcd2ae2fd1cf authored almost 2 years ago
feat: Add line breaks in Python API methods (#16770)

github.com/OpenAPITools/openapi-generator - f03cbea9717c172762072a85f7ce0cee7f33ef9e authored almost 2 years ago
[python] Add tests and fix enum path parameters (#16769)

* test: Tests for enum params in path, query and header

* fix: Get enum ref values correctly ...

github.com/OpenAPITools/openapi-generator - 9e07f85eb5248c7c90b6a742b84ba856a20fca13 authored almost 2 years ago
[Java][client] Fix feign classcastexception when getting headers (#16745)

* Avoid ClassCastException when getting headers (the header values are Collection<String> and no...

github.com/OpenAPITools/openapi-generator - 87f9d53c3a10c16e6a69d2854e561dc2be6f00ba authored almost 2 years ago
fixed a flaky test org.openapitools.codegen.DefaultCodegenTest.testVarsAndRequiredVarsPresent (#16751)

github.com/OpenAPITools/openapi-generator - 494ee489ade5344b1bc7acdb545e058563f2d73f authored almost 2 years ago
Fix log statement (#16768)

The current log statement prints "%s", updating to properly include the parameter

github.com/OpenAPITools/openapi-generator - 594308f82119e0f26416f9b616a53ef0dc69307c authored almost 2 years ago
fix object serializer, update tests in php nextgen (#16764)

github.com/OpenAPITools/openapi-generator - 4a17c22905175e137f234960fb923c76d8194a8b authored almost 2 years ago
Fix ruby httpx test (#16765)

* fix setup of body params (may be nil)

* fix httpx adapter issues

treating DNS resolution...

github.com/OpenAPITools/openapi-generator - 3e9dba01ee99103c9904fa1252aa7caaea1ee901 authored almost 2 years ago
Update ruby httpx petstore test (#16753)

* update ruby httpx petstore test

* fix pom

* comment out ruby httpx tests

github.com/OpenAPITools/openapi-generator - 23c5db602f97493257cb7890b8da7f1aa8b129cc authored almost 2 years ago
[JAVA][KOTLIN][SPRING] upgrade dependencies (#16759)

* upgrade spring-boot-starter-parent

* upgrade springdoc and swagger-ui

* upgrade v3 swagg...

github.com/OpenAPITools/openapi-generator - e3db882ed4d636526e88199ed5160083e4201619 authored almost 2 years ago
fix type, update tests in php nextgen (#16758)

github.com/OpenAPITools/openapi-generator - 48f454cf729ce33d89063cd58c32fe696117de17 authored almost 2 years ago
[php-nextgen] minor fix to return type (#16752)

* minor fix to return type

* use returnProperty

github.com/OpenAPITools/openapi-generator - 5fb6fcf9ef3ff4cdca28ad6402d21482e9a15184 authored almost 2 years ago
fix handling with enums in object serializer (#16741)

github.com/OpenAPITools/openapi-generator - f5680019b2e6e56cedd3d9d642bbed2bc0192ad6 authored almost 2 years ago
map set to list, add tests (#16730)

github.com/OpenAPITools/openapi-generator - 893154d7669adbd577aa6d97e2ba6f0a6787d4b7 authored almost 2 years ago
Print the multiple matchedTypes when multiple schema matched. (#16736)

Co-authored-by: Aanisha Mishra <[email protected]>
Co-authored-by: Vikrant Balyan (vvb...

github.com/OpenAPITools/openapi-generator - 050e4638721fe1a5aab08daf2a99c51824411d1c authored almost 2 years ago
Bug fixes based on report (#16728)

* bug fixes based on report

* fix

github.com/OpenAPITools/openapi-generator - effbe8caad70e8e4eb4bfa1dfbd9f7ba9bae94cb authored almost 2 years ago
add ruby httpx echo api tests (#16729)

github.com/OpenAPITools/openapi-generator - 6722f1300d38e94f302d41ee441c9a68395e51d3 authored almost 2 years ago
fix invalid function is_subclass call for php-nextgen (#16712)

github.com/OpenAPITools/openapi-generator - c306ca3cf2ea0c823b74e297feccbda52d3e4e59 authored almost 2 years ago
ruby client adapter for httpx (#16718)

* added isTyphoeus property to remove negations on isFaraday

* adding httpx support as altern...

github.com/OpenAPITools/openapi-generator - 822568b664f45b7ff2580cfda4fbf66687cb5a2e authored almost 2 years ago
[Spring] resolves #16054, resolves #15088 add vendor extension x-spring-provide-args (#16663)

* add vendor extenstion x-spring-provide-args

* add vendor extenstion x-spring-provide-args
...

github.com/OpenAPITools/openapi-generator - 4a0ab21ba42f4895cd0497486d1fe979ac874f9d authored almost 2 years ago
[Java][okhttp-gson] fix AWS auth issue (#16721)

* fix samples

* fix awsauth in okhttp gson java client

* update github workflow

github.com/OpenAPITools/openapi-generator - a1d00e4785f6ecd3a9a4fa981a8215948a75e8d4 authored almost 2 years ago
Replace deprecated Gradle properties (#16695)

* destinationDir -> destinationDirectory (scheduled to be removed in Gradle 9.0)
* archiveName ...

github.com/OpenAPITools/openapi-generator - 7087b332f0a14b89918d6021c7e30bec6d282b18 authored almost 2 years ago
Update tests for maven plugins (#16720)

* Fix swagger-annotations groupId in java examples

In Version 5.4.0 OpenApi-Generator has rep...

github.com/OpenAPITools/openapi-generator - f5f9a7e091a35a8d64db05f38336f3d1c24e4b5c authored almost 2 years ago
fix: Add prefix and suffix to discriminator (#16684)

Use the existing toModelName method to normalize the discriminator

Co-authored-by: Matthias G...

github.com/OpenAPITools/openapi-generator - 4075a52dce9009d82dcfef8ba9a626ed2a7299b5 authored almost 2 years ago
Added {{>cookieParams}} to interface (#13911)

{{>cookieParams}} was introduced to generated classes but not for the only interface use case in...

github.com/OpenAPITools/openapi-generator - baf33f053784e8eee0d4ce157a78d99397104145 authored almost 2 years ago
[Feature] add the ability to generate apis and models in the specified folder from config.yaml (#15561)

* support the ability to create apis and models templates in specify folders using the config se...

github.com/OpenAPITools/openapi-generator - 9fd4cc1e631d2f69c4279179af39822715d519b2 authored almost 2 years ago
update ruby rspec test (#16702)

github.com/OpenAPITools/openapi-generator - 97ee910a2c5d91858ae0824d276c83005b814740 authored almost 2 years ago
python: type generated client using Self (#16693)

* python: type generated client using Self

This doesn't offer a clear win but this helps for:...

github.com/OpenAPITools/openapi-generator - cec5b8965ae4026a04d6f514deda656c9593735f authored almost 2 years ago
[csharp][generichost] Handle all responses (#16635)

* handle all responses

* update the readme

* build samples

github.com/OpenAPITools/openapi-generator - bd1caf69cb5b920420d847c72675c1e312ba6f43 authored almost 2 years ago
[Java][Spring] Fix RequestPart/RequestParam handling on multipart request in reactive stack (#16535)

* Fix requestpart in reactive

* Update samples

github.com/OpenAPITools/openapi-generator - ee5d9f6ad3df017169f58aa9e9fcc674b43096cc authored almost 2 years ago
[Go] Adding response middleware (#16641)

* Add optional response middleware to go template

Also adds a request middleware which can re...

github.com/OpenAPITools/openapi-generator - 2eca00f87d3976702d4a0d40b583df7a25432aa7 authored almost 2 years ago
[php-symfony] Support for default scalar value of properties in model (#16605)

* Add support for default scalar value of properties in php-symfony models. Default values now r...

github.com/OpenAPITools/openapi-generator - 039c1698b0fa5c6a9d7d84be453a549ca3432517 authored almost 2 years ago
python: remove aenum in favor of stdlib's enum (#16691)

The aenum dependency didn't provide any specific improvements over the
stdlib's enum module.
a...

github.com/OpenAPITools/openapi-generator - 03781d3a9392aecbceba95591d5874f9a74bb3a6 authored almost 2 years ago
python: type API client internal structures (#16692)

* In samples/openapi3/client/petstore/python, this reduces the mypy errors from 435 to 178 error...

github.com/OpenAPITools/openapi-generator - 56bc383dc1970629980fdb956e9d3cfc2a0f837b authored almost 2 years ago
[Python] add `float` to reserved word list (#16689)

* add float as reserved world

* clean up

* update samples

* Update modules/openapi-gene...

github.com/OpenAPITools/openapi-generator - ce4b2fe7bdd1529c4d0cb495d989810f871635eb authored almost 2 years ago
Add tests for python client with disallowAdditionalPropertiesIfNotPresent set to true (#16690)

* add tests for python client with different option

* update samples

* update tests

github.com/OpenAPITools/openapi-generator - 3fcf5584c6124d38dbf88b349cde697b2a0b5f5f authored almost 2 years ago
[python] change Private attr to Class vars (#16687)

* [python] fix TypeError

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

* [python] update Private m...

github.com/OpenAPITools/openapi-generator - c6e9a4e1ae87793dda3b251e38b7fe6d636863b9 authored almost 2 years ago
[PYTHON] generate code based on pydantic v2 (#16685)

* [python] replace validator with field_validator

* [python] replace parse_obj with model_val...

github.com/OpenAPITools/openapi-generator - e2f249ba35e2da2f9936efaf5434068238cfc68c authored almost 2 years ago
python: Remove usage of six (#16675)

github.com/OpenAPITools/openapi-generator - 67b129fda994a41e03c0c4a7d0e984228b2bfadd authored almost 2 years ago
Update configuration.md (#16683)

added additional example for --additional-properties command with comma (,) seperator

github.com/OpenAPITools/openapi-generator - 3c4561ece2d45af1a0cde7f26e318c53ae031ed4 authored almost 2 years ago
python: generate Pydantic v2 + typing complete code (#16624)

* python: improve type generation with more specific typing

* Annotate function parameters

...

github.com/OpenAPITools/openapi-generator - 04fa53b692664178846cfecd69bc2b6f818268aa authored almost 2 years ago
fix: Fixes headers annotation for kotlin retrofit2 api template (#16680)

github.com/OpenAPITools/openapi-generator - af352df10f4e3b1e2253d451757292c7f555ae99 authored almost 2 years ago
Jaxrs jersey3 server (#16676)

* Introduced Jersey3 to JavaJerseyServerCodgen and its test class

* Added date ParamConverter...

github.com/OpenAPITools/openapi-generator - bb3096c99c316b8c09c8666faed04daf67df3286 authored almost 2 years ago
[JAVA] Prioritize mapped discriminators over generated (relates to issue #12777) (#15284)

* prioritize mapped discriminators over generated

* update samples with new ordering

* exp...

github.com/OpenAPITools/openapi-generator - beb67aa74d40f332596d757ddd4ff66a54be969e authored almost 2 years ago
fix kotlin enum name (#16666)

github.com/OpenAPITools/openapi-generator - 4f8d61c05cea0fb6bdbd9220b478a74e387298c1 authored almost 2 years ago
[csharp] Fix Issue #16660 System.NotImplementedException in ApiClient.cs with OAuth2 (#16661)

* Set authenticator against clientOptions instead of client

* Changes from generate-samples.s...

github.com/OpenAPITools/openapi-generator - fdd179e60ac736dba9d51fe89428ee502baa3512 authored almost 2 years ago
[php-nextgen] Fix default value for array of items (#16654)

* fix form parameter default value

* fix only phpnextgen

github.com/OpenAPITools/openapi-generator - fce2dcbb379c07f9645adf0f9e0b5d88741f61d0 authored almost 2 years ago
remove supportJava6 (#16664)

github.com/OpenAPITools/openapi-generator - 6c1a937663e2105d637bb8c3c5cb9c1e6b9df5f0 authored almost 2 years ago
remove jersey 1 (#16646)

github.com/OpenAPITools/openapi-generator - 1cff462d90615684b787010afffbc080e9cd159b authored almost 2 years ago
[python-pydantic-v1] various improvements (#16658)

* rename, add tests

* remove library support in python pydantic v1 codegen

* copy tests

...

github.com/OpenAPITools/openapi-generator - 077744a7afa754edf2e3f912cca35d434be23711 authored almost 2 years ago
python: copy the current Python generator into a "pydantic v1" generator (#16656)

* Copy the current Python generator into a "pydantic v1" generator

This generator will be dep...

github.com/OpenAPITools/openapi-generator - 3b95f701e5e2821ada6424d067c9953e43c47d52 authored almost 2 years ago
[php-nextgen] Use php type declarations (#16572)

* WIP: implement strict types

* Add parameter and return types to API methods

* Cleanup im...

github.com/OpenAPITools/openapi-generator - d165b8879f651d01db995fcf822de595b86cd7fd authored almost 2 years ago
Fix ASP.NET Core server type mappings (#16653)

github.com/OpenAPITools/openapi-generator - 7d60a46bc7e3d5164e83d6ae3d873fd816ba506e authored almost 2 years ago
Test with Python 3.11 (#16649)

github.com/OpenAPITools/openapi-generator - e892d50075df4ff7518e0c5a1e036beb22985023 authored almost 2 years ago
use model class for request body with additionalProperties (#16613)

* try out simple fix

* add test case

* generate samples

github.com/OpenAPITools/openapi-generator - 2ca99bdf8ebb3c322f594b61ebc3d4164dd05176 authored almost 2 years ago
[csharp] fix authorization header casing issue (#16622)

* Capitalise auth scheme irrespective of token_type capitalisation

* Changes from generate-sa...

github.com/OpenAPITools/openapi-generator - f99002a974106459d8bbb6b990cc820ea3168d05 authored almost 2 years ago
Bump s4u/setup-maven-action from 1.9.0 to 1.10.0 (#16652)

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

github.com/OpenAPITools/openapi-generator - 19d8dbc7d556c3c5ca771a88aa1fdcfeb149e2d1 authored almost 2 years ago
[kotlin-client] add spotless plugin (#16645)

* add spotless plugin to kotlin client

* add spotless plugin to kotlin client

* use 6.13.0

github.com/OpenAPITools/openapi-generator - 7d154c988c134cc1cb61180fd085007012ca2756 authored almost 2 years ago
[typescript-axios]: handle explode query (#16435)

* [typescript-axios]: handle explode query

* [typescript-axios]: handle explode query based o...

github.com/OpenAPITools/openapi-generator - a68eba649f6de2cfa9c95a245a06ca7e5b8ec2a5 authored almost 2 years ago
fix(#9682): API class has multiple imports of 'okhttp3.ResponseBody' (#16638)

github.com/OpenAPITools/openapi-generator - 55c580579e96c415acf9fecbd785771201cd7f89 authored almost 2 years ago
add tests for useAbstractionForFiles option (webclient, resttemplate) (#16644)

github.com/OpenAPITools/openapi-generator - 0f2a27d3c524327cca105d11e8d37bcca3f67c07 authored almost 2 years ago