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

udpate typescript samples

github.com/OpenAPITools/openapi-generator - 3858599be0fadbb7c4c5f2558f2f2d31a3ef4e25 authored over 1 year ago
fix: update dead link to TypeScript docs (#17771)

The previous link no longer worked, so I've updated it to the latest
version of the TypeScript ...

github.com/OpenAPITools/openapi-generator - 4ec170236df2787ba715a695d75fc620c4c81003 authored over 1 year ago
[PHP] update dependencies for php-dt generated code (#17796)

* php-dt update:
- bump minimal required PHP version to 7.4 (8.1 for modern mode)
- bump minim...

github.com/OpenAPITools/openapi-generator - 70addf8fc9e0b0bdfa08d68f0aac3e7243162c4a authored over 1 year ago
[jax-rs][jersey3] Fix missing SecurityRequirement (#17797)

* [jax-rs][jersey3] Add SecurityRequirement

* Update Samples

* update samples

---------...

github.com/OpenAPITools/openapi-generator - 5af2c7fbfbf1ed38f7715fa459fb71657ce0154d authored over 1 year ago
Add sample spec to catch external file reference issues in swagger-parser (#17773)

* add a sample that catches swagger-parser issues with external refs

* generate samples for n...

github.com/OpenAPITools/openapi-generator - 6e137bb61d42f5d3cb226f68808df60a243ca88a authored over 1 year ago
Fix Python codegen in specific additionalProperties case. (#17659)

* Fix Python codegen is specific additionalProperties case.

* Add generated test files.

* ...

github.com/OpenAPITools/openapi-generator - 6bcf8cd332f266ea3c185d338d75a56e217e9004 authored over 1 year ago
Add Svix as bronze sponsor (#17783)

* add svix as sponsor

* add logo

github.com/OpenAPITools/openapi-generator - 334ddca0217cfcb8c2b5791c3cfedaa14709a56a authored over 1 year ago
[typescript][axios] Add any to index type when additionalPropertiesIsAnyType is true (#16494) (#17625)

github.com/OpenAPITools/openapi-generator - 5397f645953b393ac02804881c395eb8ac9c9cd9 authored over 1 year ago
Fix typescript-nestjs services when using api_key authentication (#17708)

Closes: #17706

github.com/OpenAPITools/openapi-generator - eb7d2d9fd2cc9cf7ce0c5815ddfd9a4969cb04e5 authored over 1 year ago
Allow using bearer auth in typescript-nestjs (#17711)

Closes: #10114

github.com/OpenAPITools/openapi-generator - 580da9978ae7b22b561a3a0166188a390c68c818 authored over 1 year ago
Accept Promises for the apiKey configuration in the typescript-fetch generator. (#17758)

github.com/OpenAPITools/openapi-generator - 8ff230ed06f4a0846be8998659cef390c496cc00 authored over 1 year ago
add operation id option (#17750)

github.com/OpenAPITools/openapi-generator - 7c7634dda95eeb015e3a64375abf124f9031fecd authored over 1 year ago
fix require var logging, don't matchGenerated if allOf skipped (#17746)

github.com/OpenAPITools/openapi-generator - 2129b15c8f0598126a7a259106f7018bd302eef2 authored over 1 year ago
remove sonar workflow which works with jdk17+ only

github.com/OpenAPITools/openapi-generator - 4d3121c32ecbea85edc3ce3ccbb51379e377524a authored over 1 year ago
Update model_generic.mustache, tuple notation breaks when there is only one element in the tuple (#17749)

* Update model_generic.mustache, tuple notation breaks when there is only one element in the tup...

github.com/OpenAPITools/openapi-generator - c9204c4330ac9bd6bddc5e8f1591845066d2907c authored over 1 year ago
scala-sttp: fix for missing EnumNameSerializer for inner enum definitions (#17697)

github.com/OpenAPITools/openapi-generator - 6ec4ed0b691404db2e6e76e90da0342ac44f3426 authored over 1 year ago
[python-fastapi] Ensure path param is ... instead of None (#17532)

Fixes #16029
Code from https://github.com/OpenAPITools/openapi-generator/issues/16029#issuecomm...

github.com/OpenAPITools/openapi-generator - 7267e809c32767c17dde3c3eab9aef05a7710f65 authored over 1 year ago
revert swagger-parser upgrade (#17657)

github.com/OpenAPITools/openapi-generator - af4800132d78ebfa6b44a75d5d0cf69ac31b59bc authored over 1 year ago
corrected handling of "isPrimitiveType" for FormParameters (#17700)

* FormParameters correct handling for "isPrimitiveType"

https://github.com/OpenAPITools/opena...

github.com/OpenAPITools/openapi-generator - 1146575848ea0ac1fdbe184a14e7e29c733ff453 authored over 1 year ago
Add rule to remove x-internal in openapi normalizer (#17734)

* add rule to remove x-internal in normalizer

* update

* update doc

* better code forma...

github.com/OpenAPITools/openapi-generator - 59f672d9aa05005c4c3568535c39cd7a27daa4b2 authored over 1 year ago
fix is null schema check for array of string in 3.1 spec (#17728)

github.com/OpenAPITools/openapi-generator - 301f25a3068db6dd17ab930f72975b235664f172 authored over 1 year ago
use map/array model class only if it is generated (#17612)

* fix

* tests

* generate samples

* refactor

github.com/OpenAPITools/openapi-generator - 9afea50cab72a3ff4d67c7cf0526c6c566773f47 authored over 1 year ago
fix: ensure models that have variables that contain a complexType of `time.Time` import the `time` module (#17452)

* fix: handle variables that have items that contain a complexType of `time.Time` properly

Si...

github.com/OpenAPITools/openapi-generator - 5055ebade907d213473d46e0ebad61d989d29005 authored over 1 year ago
[java] fix Use jackson-jakarta-rs-json-provider when useJakartaEe is true (#17600)

* fix #17590 - use jackson-jakarta-rs-json-provider instead of jackson-jaxrs-json-provider in po...

github.com/OpenAPITools/openapi-generator - 9952776e9c6d822886a13bce873267af10860e07 authored over 1 year ago
[JavaSpring] Add Javadoc to enum (x-enum-descriptions) (#14123)

refs #1693

github.com/OpenAPITools/openapi-generator - 8f441689f7a86af9e26cb3d4b8290d000138d490 authored over 1 year ago
make sure the imports are present for enum, if using jackson (#15123)

github.com/OpenAPITools/openapi-generator - 17473a035b7b20fc1e2a51717253eeb896864f79 authored over 1 year ago
add lombok model support on spring (#17622)

* add lombok model support on spring

* use regex to adapt annotation with parenthesis

* ad...

github.com/OpenAPITools/openapi-generator - 66a6af5ca40bb190ca10189f2a7a4b75ce0384ad authored over 1 year ago
[BUG] [Java] Remove deprecation and serial warnings in ApiException.java and JSON.java (#17716)

* Add serialVersionUID to Java apiException.mustache templates

* Use 'enable()' and 'disable(...

github.com/OpenAPITools/openapi-generator - a092bbd83bb53311442c546ac564d41cf719f843 authored over 1 year ago
Add JavaDoc to api and apiInterface templates for the JavaJaxRS spec generator (#17705)

* Add javadoc to api and apiInterface templates for JavaJaxRS/spec.

* Updated samples with ja...

github.com/OpenAPITools/openapi-generator - 0a0428b89ca609d027f1abb516798858208d0015 authored over 1 year ago
[cpp-ue4] Fix generated code not compiling when using unique array items (#17684)

* Add CollectionToUrlString for TSet

Added a template for converting collection to url string...

github.com/OpenAPITools/openapi-generator - d152f4d995071596eb6cb2458f8dc93472245ac0 authored over 1 year ago
Bump eskatos/gradle-command-action from 2 to 3 (#17719)

Bumps [eskatos/gradle-command-action](https://github.com/eskatos/gradle-command-action) from 2 t...

github.com/OpenAPITools/openapi-generator - aa15ef9ab95fcd46b4f9a81dd4e1111effb075ef authored over 1 year ago
Bump gradle/gradle-build-action from 2 to 3 (#17720)

Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2 to 3.
...

github.com/OpenAPITools/openapi-generator - ad73e115d98791f8a44f7d643bf4c7e848270a5a authored over 1 year ago
feat(typescript-angular): add support for v17 of angular (#17685)

- Add support for `transferCache` property in request options

Refs: [#17301]

Co-authored-b...

github.com/OpenAPITools/openapi-generator - a7439e456ec2b66137ccb2d4439c85f342e698e8 authored over 1 year ago
Add SSS Twitter to bronze sponsor (#17698)

* add SSS Twitter to the sponsor

* update url

github.com/OpenAPITools/openapi-generator - 96eb4a499aba7ba499bfb0466acda98ee37c087f authored over 1 year ago
Fixes #17645 When interfaceOnly is true, RestApplication will be generated as well (#17646)

This class with the optional OpenAPIDefinition annotations is now generated always.
And no long...

github.com/OpenAPITools/openapi-generator - aaaf1e14c8fc125545c1916071bffa80218a521c authored over 1 year ago
[RUST][CLIENT] Fix generated type not being converted to string (#17504)

github.com/OpenAPITools/openapi-generator - 45add9271036705f8ad0042c7696c067de312513 authored over 1 year ago
Improvements on scala http4s server generator (#17693)

* improvements on scala https server generator

* trigger dockerfile build

github.com/OpenAPITools/openapi-generator - f31164b5692b9e89d87ea554bd93d7d97d0e6364 authored over 1 year ago
fix missing import in ruby faraday test (#17692)

github.com/OpenAPITools/openapi-generator - 6a8ca1018f64b5884d9bba026bb2a02be8697024 authored over 1 year ago
Add tests for query parameters (array of integer/string) (#17686)

* add tests for query parameters in python client

* update other samples

* update samples

github.com/OpenAPITools/openapi-generator - d0187ab35997ad904e1bac4630ae3c3b59b35e6b authored over 1 year ago
Fix allOf with a single item in inline model resolver (#17683)

* fix inline model resolver for allof with 1 item

* add files

* update sha

* more checks

github.com/OpenAPITools/openapi-generator - dccb1470556e0f7d9b3f7c0beff28349507e7c31 authored over 1 year ago
Include support to Mojolicious relaxed placeholders (#17633)

github.com/OpenAPITools/openapi-generator - 4840b366bc0511b08151e736b7ef357297cc2723 authored over 1 year ago
fix "parameters_to_url_query" throws an error (#17638)

github.com/OpenAPITools/openapi-generator - 0357a1b1dddae1be23aeb98d32953dce5963e58d authored over 1 year ago
support binary response for R api client (#17626)

* support binary response for R api

* rework

* autogenerated samples

github.com/OpenAPITools/openapi-generator - 1e17712f253b20c4ef09648b7e8aa3bc15c9c4bb authored over 1 year ago
Fix map and free form object detection issue in 3.1 spec (#17624)

* fix map issue in 3.1 spec

* fix, add tests

* update samples

* update

* manully fix...

github.com/OpenAPITools/openapi-generator - b2f622cd983de8bd4c106f68114e44cff98c78be authored over 1 year ago
Pass ObjectMapper to JacksonConverterFactory (#17673)

This commit fixes an issue where the object mapper is not passed to the JacksonConverterFactory....

github.com/OpenAPITools/openapi-generator - c2ec0bafdf9f7e50351fcbb024e8b4e944ba2d25 authored over 1 year ago
Fix typo in KotlinClientCodegen.java user-visible error message (#17674)

github.com/OpenAPITools/openapi-generator - 74a3a8870dba36e9bfd97d61cf0c6c9bddc0a6ee authored over 1 year ago
Update perl tests (#17670)

* update perl tests

* add more tests

github.com/OpenAPITools/openapi-generator - 659e21a4bf1e9cfc8c49a7d7ed75f7399701f2a5 authored over 1 year ago
[Bash] Allow non-JSON request body payloads (#17641)

* Added option to mustache template that allows passing of non JSON request bodies

* Used lin...

github.com/OpenAPITools/openapi-generator - 256b27912bd47b1b7f3e690c962dbfe681c364bc authored over 1 year ago
Test perl petstore client in CircleCI (#17669)

* test perl client in circleci

* cpanm install

* install

* add bash

* bin bash

* ...

github.com/OpenAPITools/openapi-generator - e6161cc044ae49d3dceece5cf3b6a24049e1b17e authored over 1 year ago
Remove outdated files in perl petstore cilents (#17668)

* remove outdated files in perl cilents

* update samples

github.com/OpenAPITools/openapi-generator - df0e13f0c62482ad7cc2fdeadae5bfceeac7c0a7 authored over 1 year ago
[kotlin-client][jvm-spring-*] Fix runtime error in endpoints of type Unit (#17664)

* Fixed invalid extraction of response body in kotlin-client jvm-spring-*

* Generated echo-ap...

github.com/OpenAPITools/openapi-generator - 227c8602f794e57786b8a2e1a52a451952a2a659 authored over 1 year ago
feat(perl): Update agent to use version constant (#17665)

close #14297

github.com/OpenAPITools/openapi-generator - 189bf7d6c559dba225ef44f65e5367a8f6698637 authored over 1 year ago
Fixes #17642 by adding info contact url to the generated OpenAPIDefinition annotation (#17644)

github.com/OpenAPITools/openapi-generator - 3dcef8249b09f92fceba57e34b9c0cdaf7e7a758 authored over 1 year ago
remove isAnyTypeSchema in default codegen (#17663)

github.com/OpenAPITools/openapi-generator - eb10b410e1185ea1f188bf4337270d77828a8e2d authored over 1 year ago
add auto-generated cpanfile in perl client (#17662)

github.com/OpenAPITools/openapi-generator - e326d6aafc0815f680b2f074a1ffb124d71b1763 authored over 1 year ago
support x-internal in models and operations (#17639)

github.com/OpenAPITools/openapi-generator - 27f766721a62b65a235b4a85534a56e1135c709c authored over 1 year ago
add any type support in perl client gen (#17654)

github.com/OpenAPITools/openapi-generator - 50ae17b197e601848a1fdbf0b7044ba1d9b6cb29 authored over 1 year ago
[Perl] Update _test.mustache templates to use done_testing (#17649)

* test(perl): Update test plan to use done_testing

close #14921

* fixup! test(perl): Updat...

github.com/OpenAPITools/openapi-generator - 5b6b0825046fea1ba93e89c1abdcbae658787cab authored over 1 year ago
[dart-dio] includeIfNull: truefalse bugfix (#17631)

Co-authored-by: Vasiliy Ditsyak <[email protected]>

github.com/OpenAPITools/openapi-generator - 3767110b1bc77b6680e2f0e42ed20b29cb3db335 authored over 1 year ago
Support isResponseOptional in typescript-fetch generator #7720 (#17635)

github.com/OpenAPITools/openapi-generator - 3756c3b65da18903f66449edcf8631c2ff307e57 authored over 1 year ago
R echo client tests (#17629)

* add r echo api client sample

* add r workflow

* fix

* add env

* set r version

*...

github.com/OpenAPITools/openapi-generator - d810d7c5340558091fa45d3fa84bf1ca13d80cf2 authored over 1 year ago
Bump actions/cache from 3 to 4 (#17636)

Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://...

github.com/OpenAPITools/openapi-generator - eab34c9b3f9ad42394e9c1d41429bd318233fc21 authored over 1 year ago
[Rust] [Axum] Fix clippy warning (#17637)

github.com/OpenAPITools/openapi-generator - 7e8b521069d9a46a931262ceb9f93a741e5d54fb authored over 1 year ago
Added missing copied properties from CodegenOperation in TypeScriptFetchClientCodegen and ErlangClientCodegen to resolve issue #15457 (#17627)

github.com/OpenAPITools/openapi-generator - a730fe504848db3f40a509310261eb817b521039 authored over 1 year ago
Able to generate within parameter #17158 (#17623)

github.com/OpenAPITools/openapi-generator - 287e8fc69c8bc0c7bee60154369e8d1f504331ba authored over 1 year ago
fix(typescript-axios): fix syntax error if a queryparameter called index exists (#17550)

github.com/OpenAPITools/openapi-generator - 26ab9e77411dde7a1d8cab4a3e70e942dc2e7cb8 authored over 1 year ago
feat: add `java-wiremock` generator (#17614)

* feat: add `java-wiremock` generator

* remove text block usage for samples

this will allo...

github.com/OpenAPITools/openapi-generator - 092463a513932d020724a4fa2555d0eaa47f5b37 authored over 1 year ago
[python][client] Clean up samples and CI (#17509)

* chore: Remove leftover Github action file

This was probably added by mistake. A similar fil...

github.com/OpenAPITools/openapi-generator - a0418c28551ccd91909bc0514c9e2786ff365e07 authored over 1 year ago
kotlin-server: Add support for Javalin (#17596)

* kotlin-server: Add support for Javalin

* kotlin-server: Add Javalin generated sample code
...

github.com/OpenAPITools/openapi-generator - 13edc5d494c23cab6f90f58685746ea27d206afc authored over 1 year ago
add Carksberg Group to the user list (#17615)

github.com/OpenAPITools/openapi-generator - 36e4e4f3167707b3a657121897fdf6cfc33b85f1 authored over 1 year ago
[Go-Server] Use ParseQuery For Parsing Query Parameters (#17585)

* Uses ParseQuery to check for malform paramater value pairs.
Runs ./mvnw clean package, ./bin/...

github.com/OpenAPITools/openapi-generator - af71460c863c9c7c70a72132f553316b86f3ef32 authored over 1 year ago
add tests for oneOf object (go)

github.com/OpenAPITools/openapi-generator - 6518932ccfd9258b60841da1f77488a98c3cc525 authored over 1 year ago
Fix Go generation of `type: object` inside anyOf (#17339)

Without this the generated code contains `{}` in the field name which is invalid.

github.com/OpenAPITools/openapi-generator - 90a7354c42754b85675efc43e2516ebe62cc33a2 authored over 1 year ago
update python flask samples

github.com/OpenAPITools/openapi-generator - 33faa2960c06600bf51df35a9ae154d9fd192f25 authored over 1 year ago
bug fix: breaking dependency of flask server gen (#17611)

Because the requirements file does not limit connexion version to below
3.0, with release of co...

github.com/OpenAPITools/openapi-generator - 9391354b85feedb39bdf1a181fbfaae6bb8b25ce authored over 1 year ago
[OAS 3.1] Fix null type check in normalizer (#17609)

* fix null type check in normalizer

* add back ref check

* add files

github.com/OpenAPITools/openapi-generator - 64c763b87ac839e3bd6a4017a743197e2e6ab701 authored over 1 year ago
remove jersey1 templates (#17607)

github.com/OpenAPITools/openapi-generator - 51dbd326227fdf9454516a3f327cd72cddefcd08 authored over 1 year ago
[Python] Handle nullable dictionary values (#17605)

* fix nullable elements in maps

* update examples

* exclude values typed as Any

github.com/OpenAPITools/openapi-generator - 8e9a17fe0252c1290f585d1fb680c4e64cb5495a authored over 1 year ago
Fix parameters_to_url_query doesn't properly convert lists to string (#17592)

* fix parameters_to_url_query to properly handle lists

* fix query parameters bug in sample c...

github.com/OpenAPITools/openapi-generator - 406bc28a3d7e671f384b07a213551cd9c749d0d4 authored over 1 year ago
fix: DefaultCodegen now generates an exemple for each status codes (#17603)

The DefaultCodegen now iterates through all api operations.

This allows to access different e...

github.com/OpenAPITools/openapi-generator - b01b182af681b4aa2e0d7e0f4b150ffb9506e6f1 authored over 1 year ago
[Python] Handle nullable list items (#17594)

* fix nullable elements

* update type info in docs

* update examples

github.com/OpenAPITools/openapi-generator - 968c6dc4187250dd8b0f81c7963b17ba871785c7 authored over 1 year ago
better npe handling when processing openapi 3.1 spec

github.com/OpenAPITools/openapi-generator - c6efe8810df39ba04b89f9c4886eb5e808848bd6 authored over 1 year ago
[JAVA] - fix BUG 14233 code gen support multiple accept headers, fallback is json/application (#15245)

github.com/OpenAPITools/openapi-generator - e384201416f48a79e7f640e5f00b57ecb7fff07b authored over 1 year ago
add copyright note to rust axum server codegen (#17598)

github.com/OpenAPITools/openapi-generator - 62459f4a9a06b900a5d4fbf00cd0e9f5981fdaf5 authored over 1 year ago
[Rust] [Axum] Format ops-v3 sample (#17599)

github.com/OpenAPITools/openapi-generator - 6429711a58a459089f714562c4571a6b86cfe883 authored over 1 year ago
move rust axum configs to bin/configs/manual

github.com/OpenAPITools/openapi-generator - 987a52cf0fb12b361cd9bc0b6b987740677207cc authored over 1 year ago
Fix flattenPath() in InlineModelResolver: use List instead of Map (#17579)

* Fix flattenPath() in InlineModelResolver: use List instead of Map

Fix for https://github.co...

github.com/OpenAPITools/openapi-generator - 69e72203aeca023cb2f3bd392d3c080af6e2a0fe authored over 1 year ago
replace deprecated ISO8601Utils with StdDateFormat (#17052)

github.com/OpenAPITools/openapi-generator - 76560e34c9aacd9d7593ac45bd204e2edf38abd9 authored over 1 year ago
[Rust] [Axum] Deduplicate code from rust-axum generator (#17588)

* [Rust] [Axum] Deduplicate code from rust-axum generator

* Fix build

github.com/OpenAPITools/openapi-generator - be19c35c4537dd0e4443b44ea5a51ce0f7b26ce7 authored over 1 year ago
[BUG][java][resttemplate] Fix NPE when query param with value null is exploded (#17568)

* Fix NPE when query param with value null is exploded

* Polish

* Add test

* Update tes...

github.com/OpenAPITools/openapi-generator - 61c40474afeea1db6bb61bb0dae06afc6bea77aa authored over 1 year ago
[kotlin-client][jvm-spring-*] Fixed URL encoding (#17493)

* [kotlin-client][jvm-spring-*] do URL encoding via the UrlBuilder instead of manual replacement...

github.com/OpenAPITools/openapi-generator - d0e533d57337761a5e0a2546788c32ecf18b19ef authored over 1 year ago
feat: using Qt with 3rd Party Signals and Slots (#17067)

Replace signals,slots and emit with Q_SIGNALS,Q_SLOTS and Q_EMIT

Because these names will be ...

github.com/OpenAPITools/openapi-generator - cfe7dcc0cff0831ab2644002548e71e68a97172f authored over 1 year ago
[BUG][Kotlin] Add default values to optional parameters for jvm-spring-webclient and jvm-spring-restclient (#17393)

* Add default values to optional parameters for jvm-spring-webclient

* Update samples

* Ad...

github.com/OpenAPITools/openapi-generator - e3c0a3e8b0cae79416b09f36802e8b5a29e38364 authored over 1 year ago
Implement scala http4s server generator (#17430)

* Implement scala http4s server generator

* Fix types and auth

* Add proper handling of va...

github.com/OpenAPITools/openapi-generator - 455add6d80db82513da1cf596264653238f5b750 authored over 1 year ago
[CSharp] feat!: add useDateOnly flag (#17471)

* feat: DateOnly for client

* fix: generated doc for csharp

* doc: fix generators README f...

github.com/OpenAPITools/openapi-generator - 11caad92dfa0912a8609ad50b1938d897ccba207 authored over 1 year ago
fix: ExampleGenerator correctly produces YYYY-MM-dd format for `date` with examples (#17495)

When an example was specified for a property with the `date` format, it's example would be gener...

github.com/OpenAPITools/openapi-generator - 9b62b9bb057dccfdc27555323d8b56a4c7fb5b34 authored over 1 year ago