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

Update apiController.mustache (#7248)

If the delegate is optional, put it as optional in constructor

github.com/OpenAPITools/openapi-generator - bc6da8c082625ae0b9c23e4275038c71a18e256d authored over 4 years ago
fix kotlin-spring generator does not add @Valid annotation to nested classes (#8037)

github.com/OpenAPITools/openapi-generator - 0cbf064d2ba09001f3d4c6714c39a048593b5684 authored over 4 years ago
[dart-dio] Fix x-www-form-urlencoded body not working (#8175)

* only use `FormData.fromMap()` for multipart content, `FormData` does not work with `x-www-form...

github.com/OpenAPITools/openapi-generator - 351377ca29c3b4701e6348a2c97bce0eebaecbf1 authored over 4 years ago
[dart-dio] Use built_value collection types without string replacement (#8153)

github.com/OpenAPITools/openapi-generator - 7f9012c5540a9c79e02f9f3c72326c2d75d9d7bc authored over 4 years ago
[dart][dart-dio] Enum improvements (#8149)

* [dart] Always use the correct enum data type

* use raw strings for enum string values

* ...

github.com/OpenAPITools/openapi-generator - cd0257b0e50291046d9faedde31a60eff926d2c0 authored over 4 years ago
[java] Generate "static final" instead "final static" (#8158)

* Generate java code with "static final" instead "final static"

* Regenerate code with "stati...

github.com/OpenAPITools/openapi-generator - 79395de9b7ae068a858f6370b11d8bc971e7cb6e authored over 4 years ago
Update Dart technical committee with new members (#8151)

* Update Dart technical committee with new members

* add agilob

* remove ircecho

github.com/OpenAPITools/openapi-generator - e42fdb2b13bb9f2b19b02eac38f3f153af5defb1 authored over 4 years ago
[dart] Handle enumVarNames for negative names (#8143)

github.com/OpenAPITools/openapi-generator - a93a60b6eb8461599551d8d66f6460dc0b28a1e6 authored over 4 years ago
[Go] Fix for 'Invalid code for files array in multipart/form-data request'… (#8103)

* Fix for 'Invalid code for files array in multipart/form-data request' (OpenAPITools#8093)

*...

github.com/OpenAPITools/openapi-generator - 9e5610488f8b649856a72cd25695fc071b0ca1c4 authored over 4 years ago
[Java/okhttp] Add dynamic operations option (#7916)

* Add dynamicOperations option to okhttp gen

* Add tests

* Add apiclient tests

* Fix ap...

github.com/OpenAPITools/openapi-generator - f2d8e3a25ba41adc55a7ca2f2ba4acd5c1490112 authored over 4 years ago
Update swagger parser to 2.0.23 (#8128)

* update parser to 2.0.23

* upgrade to 2.0.24

* Revert "upgrade to 2.0.24"

This reverts...

github.com/OpenAPITools/openapi-generator - d2f9d421d489ef7abb7c253f351dfae427c0a554 authored over 4 years ago
Fix IndexOutOfBoundsException with no model definition (#8110)

* fix IndexOutOfBoundsException with no model

* better code format

github.com/OpenAPITools/openapi-generator - 5521d7745d61210abc5a389d91b7a128a33fe7f4 authored over 4 years ago
[dart] Variable/Operation/Model naming (#8123)

* [dart] Properly escape param/var names that clash with Dart types

* [dart] Add tests for va...

github.com/OpenAPITools/openapi-generator - 4ad6d0bfe59be46829039a5d6ff312e061717157 authored over 4 years ago
[C][Client] Update free function when a map is deleted (#8122)

github.com/OpenAPITools/openapi-generator - 828e924a3ed35d1b7ee2999518c87327896aa502 authored over 4 years ago
[dart][dart-dio] Enum fixes specific to Dart DIO (#8114)

* [dart-dio] Fix wrong escaped serializer names

* [dart-dio] Prevent enum name collisions in ...

github.com/OpenAPITools/openapi-generator - 2cdbfd63eb83b9a662b3efa8b6fbdd68071f44ed authored over 4 years ago
update swift samples, use swiftlint 0.41.0 (#8138)

github.com/OpenAPITools/openapi-generator - 2e70405084e8bbc9d0bd8f2013b1d1548fffc87b authored over 4 years ago
[Swift] Add default values to model initializers (#8118)

github.com/OpenAPITools/openapi-generator - 933a5dc2c6fbbfd518371b5900aa75b1b3494f84 authored over 4 years ago
Use import play.libs.Files.TemporaryFile instead of import play.api.libs.Files.TemporaryFile because it doesn't work at runtime. (#8130)

github.com/OpenAPITools/openapi-generator - 476dba42d47c15ca470877a35e71c47b7342bffb authored over 4 years ago
add twitter to the user list (#8135)

github.com/OpenAPITools/openapi-generator - 7bb72d08b439a02b1881d87c2f2a3aaf0be581c1 authored over 4 years ago
[dart] Use raw strings for json/header parameter names (#8131)

This should fix all problems related to unescaped characters in strings that are assumed to be r...

github.com/OpenAPITools/openapi-generator - 144e08b4fc41df3e7107afb154c3df824e395429 authored over 4 years ago
[dart-dio] fixes Enum classes with integer values (#8129)

* [dart-dio] Enum classes with int values now generate correct BuiltValueEnumConst annotation

...

github.com/OpenAPITools/openapi-generator - e346593766ed4de022f2ea00387fb14f6b18032e authored over 4 years ago
[dart-dio] Fixes errors when primitive return types are attempted to … (#7411)

* [dart-dio] Fixes errors when primitive return types are attempted to be deserialized as json
...

github.com/OpenAPITools/openapi-generator - 7fb5e2538be662f1bf56197c0044abe4b1da0a23 authored over 4 years ago
Revise wordings for options (#8127)

* revise wordings for options

* update

github.com/OpenAPITools/openapi-generator - 61777b4a7c0987ff923d02e7f1250bb6695e76dd authored over 4 years ago
use local deno install sh (#8126)

github.com/OpenAPITools/openapi-generator - 681d23d2d3ab977d9cc12cb8611fd77f9f49a1bf authored over 4 years ago
[cpp-restbed-server] Allow to implement validation of input data for enumerations (#7717)

* Allow to implement validation of input data for enumerations

* Regen petstore sample

github.com/OpenAPITools/openapi-generator - bb6785ad7061724e1687b1194b8203ea76adb6d6 authored over 4 years ago
add default cache (#8120)

github.com/OpenAPITools/openapi-generator - 0b6d70d351ebfdfae23d6a993f238d912accda5f authored over 4 years ago
[Csharp] Bugfix: Updated all C# templates ToJson method not to conflict reference withmodel properties (#8087)

* Updated all C# templates ToJson method not to conflict reference with model properties.

* u...

github.com/OpenAPITools/openapi-generator - d1ea6ac83970bfca9621dbae4fece3641ca09517 authored over 4 years ago
CHORE[DEPENDENCIES]: bump swagger-parser => 2.0.22 (#7597)

this fixes a bug where the parser would return
null when missing parameters rather than reporti...

github.com/OpenAPITools/openapi-generator - f9d6c6fb2117987632c494c703433e163829e9fa authored over 4 years ago
added support for cookie parameters to jaxrs-spec generator (#8117)

github.com/OpenAPITools/openapi-generator - 9e0badb3d7d227cd4dad621d854f718e565363e5 authored over 4 years ago
[dart] type improvements (#8111)

* [dart] Configure and use import mapping

This prevents models from being generated which wou...

github.com/OpenAPITools/openapi-generator - 7fae4ab4116c826ca64921babd239fbf1eb2d180 authored over 4 years ago
Fixes issue #8014, _check_type flag not being honored. (#8053)

* Fixes issue 8014, _check_type flag not being honored.

Updated model_utils.mustache to pass ...

github.com/OpenAPITools/openapi-generator - 99d83712a8c64bdc0b47cb949efd35b99f41d0f6 authored over 4 years ago
[python] Update python versions (#8042)

* Remove redundant encoding definitions

UTF-8 is already the default encoding in Python 3.

...

github.com/OpenAPITools/openapi-generator - e00ac502f1cf51287a6e8f79c1fec20ba5d03c97 authored over 4 years ago
Fix bug [python][client] generated python client code cannot POST object in multipart/form-data (#8075)

* encode object in json and add content-type:application/json for multipart/form-data

fix iss...

github.com/OpenAPITools/openapi-generator - 35d616c9af7a050326489637ba54e75c4543abf7 authored over 4 years ago
[dart] Cleanup and OAS3 support (#8085)

* [dart] Cleanup and regnerate old/wrong tests and docs

* docs path seems to be doc now in al...

github.com/OpenAPITools/openapi-generator - 751ffad8dbfd2806d0a0201d8c4da32cba22b23d authored over 4 years ago
better operationId in elm client generator (#8109)

github.com/OpenAPITools/openapi-generator - ed728436688607b10f0f8cccd134878f3c37c2a6 authored over 4 years ago
[BUG][typescript-axios] Sets 'isCollectionFormatMulti' flag to true on multiple file uploads (#8105)

* [typescript-axios] Sets 'isCollectionFormatMulti' to true on file uploads.

Fixes #8104

*...

github.com/OpenAPITools/openapi-generator - e732804a68cb6b38fdbce91ed137ed2ff19c9340 authored over 4 years ago
feat(config): pull the basePath from config is exists (#8078)

* feat(config): pull the basePath from config if the basePath doesn't exist

* chore: update s...

github.com/OpenAPITools/openapi-generator - a3aa19927e496f1c2c8a32a3b4a96939e578d84e authored over 4 years ago
Bump Gradle in generated Java projects to 6.7.1 (#8079)

* Bump Gradle in Java projects from 6.0.1 to 6.7.1

Regular maintenance, 6.0.1 was released No...

github.com/OpenAPITools/openapi-generator - cbe1fd9728ea828c01b5f6f57d8270bde2afb5db authored over 4 years ago
[Eiffel] various enhancements (#8076)

* Updated Eiffel code generator.
Added missing language reserved words.

Updated mustache te...

github.com/OpenAPITools/openapi-generator - c0c2f2b8043085209e83504c3aa705b4767cce3b authored over 4 years ago
[C][Client] Fix memory leak when free a map (#8107)

github.com/OpenAPITools/openapi-generator - 3195338c47fa41a71e54779b22e476d9e0d36b0b authored over 4 years ago
Support mediaType (#8100)

github.com/OpenAPITools/openapi-generator - 43fa47a51df3c5646d8c16146b3126db5330c165 authored over 4 years ago
mockito 3.6.28 (#8106)

github.com/OpenAPITools/openapi-generator - b54dade079b10fe19fdea24bcbb4d72c9250a2f0 authored over 4 years ago
[python] Re-merge Subclass Python exceptions (#7321) (#8095)

* Subclass Python exceptions (#7321)

* Subclass Python exceptions:
- UnauthorizedException (...

github.com/OpenAPITools/openapi-generator - 13f1c610d9ba8f3a4bbbe8ae0e7cb4d0a9b786c9 authored over 4 years ago
[Java][Spring] Fixes incorrect request body for map type in reactive spring (#8046)

* [java][spring] updated template to support proper reactive map type

* [java][spring] suppor...

github.com/OpenAPITools/openapi-generator - 3de537062d28378f9c5c451df3a894bf7bb9d7b4 authored over 4 years ago
[ruby] document the *_with_http_info methods (#8094)

github.com/OpenAPITools/openapi-generator - adcf54bc09a58dc930a9e4b0856da97105743e9d authored over 4 years ago
[Go] Fixes missing return statement (#8072) (#8090)

github.com/OpenAPITools/openapi-generator - 38dbcdd7528164ab236edc3c9fb984db8f07b1d5 authored over 4 years ago
[C][Client] Fix memory leak when the type of query parameter in request url is integer or boolean (#8096)

github.com/OpenAPITools/openapi-generator - bac913f3842c4e7efeebf7654958b9bb85097e00 authored over 4 years ago
Support body params for jmeter (#8101)

github.com/OpenAPITools/openapi-generator - 5e4d0978dc612cd1a134d186b40559a8c0ad9265 authored over 4 years ago
Fix for 'Reactive paramter ServerWebExchange's properties appear in Swagger-UI' (#8031) (#8032)

* [Spring] Add @ApiIgnore to parameter ServerWebExchange of reactive style (#8031)

* [Spring]...

github.com/OpenAPITools/openapi-generator - a4f1d1b5b1c3054d60ba02db6211da781f48acb1 authored over 4 years ago
JS Client: Allow dot in path parameter name (#6116)

* JS Client: Allow dot in path parameter name

* JS Client: Allow dot in path parameter name
...

github.com/OpenAPITools/openapi-generator - 25c7ccf30c1a2dcfd130aba00bc6398c51d6dec0 authored over 4 years ago
Add a script to detect changes in test files (#8020)

* add script to detect changes in test files

* remove build failure test

github.com/OpenAPITools/openapi-generator - 64c57e3f528b046df3ba3e17438218105f0c1f0a authored over 4 years ago
[C#] Fix oneOf derserialization with additional properties (#8057)

* fix oneOf derserializaoneOf deserialization with additonal prop

* fix tests due to better h...

github.com/OpenAPITools/openapi-generator - bcf4f8ade619de281065e91511434e619cf7663d authored over 4 years ago
Add a link to massive art blog (#8082)

Add a link to massive art blog

github.com/OpenAPITools/openapi-generator - b0ecaab8fbd1e924918f97c18afed7033945a35d authored over 4 years ago
[R] Bug - Invalid code generated for POST with no request object (#8067)

* Default body to NULL

* update samples

* Update to set body to NULL only when no hasBodyP...

github.com/OpenAPITools/openapi-generator - 7644f3ee834fda937809f0e40ed33760c6f5cdc2 authored over 4 years ago
Add a link to saki-engineering blog post (#8081)

github.com/OpenAPITools/openapi-generator - ebac0a8ed42815f18bb42a493eafa430cbff0a2d authored over 4 years ago
[Dart-dio] Add basic integration testing and fix compile errors (#8025)

* [dart-dio] Add basic integration test POM

This basically just fetches dependencies, runs th...

github.com/OpenAPITools/openapi-generator - 033d985cf738ecfe87c061f897dab7b6d163c567 authored over 4 years ago
Revert "Bugfix swift5 code generation 2966 (#7301)" and provide a better (#8066)

fix for the stackoverflow issue

github.com/OpenAPITools/openapi-generator - 82c5021df27202257311a243868c1c046b148252 authored over 4 years ago
Fix generation of map model examples (#8063)

When generation examples of objects with additional properties, we use
the map syntax inside a ...

github.com/OpenAPITools/openapi-generator - 634c4c09e46271c5baba28439f12424b562a5e34 authored over 4 years ago
[powershell] Implemented the psdata property for module manifest file (#8048)

* Implemented the psdata property for module manifest file (Tags, LicenseUri, ProjectUri, IconUr...

github.com/OpenAPITools/openapi-generator - 64ade2ce8f4ff0ce3c970d5a09a9ca48379d8887 authored over 4 years ago
Fix port when the URL doesn't have port specified (#8049)

* fix port missingin oas 3 spec

* update samples

github.com/OpenAPITools/openapi-generator - e040a5fdde842a3575598ed0af4eb1b3d726a383 authored over 4 years ago
feature(PHP): include the current value with enum failure (#7993)

When the value is not in the enum, the exception will now
include the actual value, helping spe...

github.com/OpenAPITools/openapi-generator - adcf9ffa20123608a6c49958980e2a0ddf0e30a0 authored over 4 years ago
Properly generate email examples (#8035)

Those are not primitive types, but not model either, they need to be
handled explicitely.

github.com/OpenAPITools/openapi-generator - a8fbcb0db2f231efa0b370d067b2b0d5a2fc5455 authored over 4 years ago
Add handling of x-www-form-urlencoded and handling float without decimal if model is declared with float/double (#8043)

github.com/OpenAPITools/openapi-generator - 16e9011d5b1806584bbe7f59e534f97c296e01cd authored over 4 years ago
[C++][Qt5] added Authentication Support (#8004)

* first commit of api Key feature.

* added multi key and URL query key support

* fixed err...

github.com/OpenAPITools/openapi-generator - cb1a620628a63cbca1375eaad9b8d83127224d6c authored over 4 years ago
Fix pyhton typo (#8041)

github.com/OpenAPITools/openapi-generator - 045d05fa726b9fa7637474508984d0f0735b227e authored over 4 years ago
[Java][Play] Fix compilation issues when using the supportAsync option (#7864)

* fix async in java play generator

* add async operation option

* Remove the return null a...

github.com/OpenAPITools/openapi-generator - 2801c0cb88839ca9756e4f528f86ad5a9cc54239 authored over 4 years ago
Fix list examples in Python (for real) (#8034)

The patch in #7967 forgot the prefix, this fixes it, and change the
sampels so that we can see ...

github.com/OpenAPITools/openapi-generator - 3f75691da200c20764a860ae8eae9b7b458c6e62 authored over 4 years ago
[JAXRS-CXF] Generate missing jackson annotations in inner enum (#7879)

* [JAXRS-CXF] Introduce petstore sample for jaxrs-cxf-client with additional property jackson (p...

github.com/OpenAPITools/openapi-generator - c950384a5d18fad7b6cf06450400a65c368057d0 authored over 4 years ago
Improve generated Java examples (#8012)

* Add basic types imports to generated examples

This adds an extension to include basic types...

github.com/OpenAPITools/openapi-generator - 616b44f3b1348d2ff751a33437871f07c3d94193 authored over 4 years ago
Fix list examples in python (#7967)

* Fix list examples in python

When a model has an example in an array, it wrongly wraps it ag...

github.com/OpenAPITools/openapi-generator - 157ad1ce738200de673abc2f2cbba8b5aee4b768 authored over 4 years ago
Expose JsonSerializerSettings in ApiClient (#7582)

* Expose JsonSerializerSettings in ApiClient

* Update generated petstore sample

* Add XML ...

github.com/OpenAPITools/openapi-generator - cf185d559ba5655188216d9d88d218ce28c2af54 authored over 4 years ago
[C][Client] Support progress function of libcurl (#7974)

github.com/OpenAPITools/openapi-generator - 4dc8d2a3514af15ac13624d4dc8e2e179749e5bd authored over 4 years ago
make the generated ruby oneOf specs pass (#8019)

github.com/OpenAPITools/openapi-generator - 2b6b7746f3f233ab48570cb4f186749726a632f7 authored over 4 years ago
fix java incompatible types error for number (#8018)

github.com/OpenAPITools/openapi-generator - ca6c63f7e50ba14ed2686abb925a2c7f663d46f6 authored over 4 years ago
[JS] (#7913) Adding support for multi file upload. Also adding the option for individual CodeGens to specify a collectionFormat (#7914)

* updated samples as well

github.com/OpenAPITools/openapi-generator - 8cfc9b015aaee92ca40313224d17c57df83deb44 authored over 4 years ago
[jaxrs-cxf-cdi] Fix issue when generating code for header params when there are defaultValues defined (#7872)

* Update headerParams if there are defaultValue

* remove new line

Co-authored-by: William ...

github.com/OpenAPITools/openapi-generator - 596d9a1d1d8de07054ae4066c301d4316f3f3fc8 authored over 4 years ago
Allows install typescript client via npm from Git (#7878)

* Allows install typescript client via npm from Git

'prepublishOnly' is run before the packag...

github.com/OpenAPITools/openapi-generator - be07bd13af4078ede875964871b370500e7bc90d authored over 4 years ago
[Dart2] Fix compile errors for required enums without default value. (#7877)

Also fix display of minimum/maximum comment.

github.com/OpenAPITools/openapi-generator - 9c0850f2d74b5d7435660d43cd937c450ebb7b02 authored over 4 years ago
Fix keyParamName not used for query API token (#7906)

github.com/OpenAPITools/openapi-generator - d64586c223d04ff7d7a375fe7e03e492dbe58f44 authored over 4 years ago
remove default ContentType for java webclient (#7945)

github.com/OpenAPITools/openapi-generator - 4f0e75b32dd0620c7bda3e58ccf1255811029121 authored over 4 years ago
[kotlin-spring] Fix required requestBoby of kotlin spring (#7985)

github.com/OpenAPITools/openapi-generator - 2e3cfe76955823d4ebe74d48415f651b44603d7b authored over 4 years ago
[ruby] fix oneOf handling (#5706)

* [ruby] fix oneOf handling

* use previous ruby configs due to issue #4690

* check for one...

github.com/OpenAPITools/openapi-generator - 522faf835acb969ab99aa9181fbd489ffab83947 authored over 4 years ago
[php][bug] Fixes exceptions with API's with too high date-time nanosecond precision (#7943)

* [php] Fixes problems with API's with too high date-time nanosecond precision

* update sampl...

github.com/OpenAPITools/openapi-generator - 6f6822a1b7937ad937a61aeac62a40bfa03dd046 authored over 4 years ago
Add isRange in CodegenResponse (#7854)

* add isRange

* undo changes to spec

github.com/OpenAPITools/openapi-generator - 33f4827a06e6296c735ba97029e46cf277611e35 authored over 4 years ago
Correct allOf with only one child schema (no discriminator) (#7855)

* Correct allOf with only one child schema (no discriminator

* fix tests

github.com/OpenAPITools/openapi-generator - 4984f9c3d57fa5288b254663935e9a6b6b27c0a5 authored over 4 years ago
Remove links to basic types in java API docs (#7989)

* Remove links to basic types in java API docs

This removes (most) wrong links to basic types...

github.com/OpenAPITools/openapi-generator - 14ff8e0ffd09e281799c38aff1ce7b0a00096add authored over 4 years ago
[JS] (#7910) Fixing undefined error caused by no `this` instances (#7911)

github.com/OpenAPITools/openapi-generator - 70bc472b862231fb7dc81349bfda7e15e4b01329 authored over 4 years ago
Fixes to go API documentation generation (#7963)

* More fixes to go doc generation

* Regenerate samples

* Fix indent

* Remove additonal ...

github.com/OpenAPITools/openapi-generator - 1c1e4f4476458652547ef008abb2fd57fa325b8b authored over 4 years ago
[DART2] A couple of bug fixes (#7969)

* Fixed a couple of problems with current implementation.

1) When encoding non-String header ...

github.com/OpenAPITools/openapi-generator - 91e64f47fc4843bd05fe051c0d40d9d262e098bc authored over 4 years ago
test openapi3 java native in drone.ci (#8001)

github.com/OpenAPITools/openapi-generator - 08c8296e3375c9449a88c0064c4d951700d79bee authored over 4 years ago
fix string comparision in go generator (#7998)

github.com/OpenAPITools/openapi-generator - aed8086d0ea0d7f17061e599e47f21235351a28e authored over 4 years ago
Add contact about security vulnerabilities (#7997)

github.com/OpenAPITools/openapi-generator - 67271b72f23ec5d50f47e65421b8af7ace3793b2 authored over 4 years ago
Prepare snapshot (v5.0.0) (#7986)

* Revert "prepare 5.0.0-beta3 release"

This reverts commit 3ebe774df37b43348bac1310a272de53a2...

github.com/OpenAPITools/openapi-generator - 2578ef5e6347c32777c5570d5890b75ddd9a2052 authored over 4 years ago
Prepare 5.0.0 beta3 (#7984)

* prepare 5.0.0-beta3 release

* update samples

* remove beta3 from readme

github.com/OpenAPITools/openapi-generator - 2715f1371a1bd438159e4aa79bd8f1fe172b03d9 authored over 4 years ago
Fix duplicated mappedModels (#7924)

* fix duplicated mapped models

* replace discriminatorExplicitMappingVerbose with legacyDiscr...

github.com/OpenAPITools/openapi-generator - dd26e406b58d19351dad6db6b6a8132663881e9e authored over 4 years ago
fix additional properties without variables (#7978)

github.com/OpenAPITools/openapi-generator - cf8ea9120abb9d2b30d4e5445088b4fc5233f32f authored over 4 years ago
add warning about unsupported libraries in python client generator (#7981)

github.com/OpenAPITools/openapi-generator - c02fc812fe3dff0c207bfd87fa991a2eb293a800 authored over 4 years ago