Compilation fails in generated typescript-angular client when an
`apiKey` is passed in query due to an uninitialised variable.
This change adds `getHasQueryParamsOrAuth()` to reflect if there's at
least one query parameter or passing API keys in query in the
`hasQueryParamsOrAuth` template variable.
* Update Kotlin Version to 1.6.0-M1
Update Multiplatform Plugin to 1.6.0-M1
Update Gragle to 7.2
Update AGP to 7.0.2
Update samples accordingle
Resolve: https://github.com/OpenAPITools/openapi-generator/issues/10467
* Removes local.properties from kotlin-multiplatform petstore client, that was accidentally added
* Use the latest kotlin stable version 1.5.31
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
* first check import mappings before defaulting to model import
* respect primitive types when generating serializes, these can still be models if passed via generator args
* BUG FIX: A missing semicolon in cpp-pistache-server generated code.
* BUG FIX: Provide default values of schema in cpp-pistache-server generated code.
* BUG FIX: Provide default values of schema in cpp-pistache-server generated code.
* Fix a bug in cpprest-sdk generator (Issue #8450)
* Fix a bug in cpprest-sdk generator (Issue #8450)
* Fix a bug in cpprest-sdk generator (Issue #8450)
* Revert "Fix a bug in cpprest-sdk generator (Issue #8450)"
This reverts commit 7d8f842860f94deb78fb519716f9984e1efad878.
* Fix a bug in cpprest-sdk generator (Issue #8450)
* A new overloaded version of parameterToString method is added to the ApiClient class (mustache file) of cpp-rest-sdk-client generator. This new overload accepts bool value and is added to serialize bool values as boolapha instead of integer representation.
* A new overloaded version of parameterToString method is added to the ApiClient class (mustache file) of cpp-rest-sdk-client generator. This new overload accepts bool value and is added to serialize bool values as boolapha instead of integer representation.
* Improve templates for C++ Restbed
The templates now generate classes which have virtual functions that can
be overridden to implement handlers.
* Fix missing HTTP methods in generated restbed C++ code
There was a wrong handling of "x-codegen-other-methods".
Change-Id: If6526d2672434beb5ebb0871d84cb80d84c34c38
* added allowDefaultValue flag for conditionSerialization
* update doc
* club the allowDefaultValue flag with ConditionSerialzation.
* fixed the tabs space.
* fixed the tabs space.
* fixed the tabs space.
* update samples, docs
Co-authored-by: William Cheng <wing328hk@gmail.com>
* Add .circleci/config.yml
* Add the property exposeResponseHeaders to feign client
This new property indicates if the feign client should expose the response headers on the API class.
* Generate new docs for exposeResponseHeaders additional property
* Rename HeaderAwareResponse to HttpResponse
* Update samples
* Refactor the implementation to use the same approach as the c# generator.
Creates a new feign operation with the suffix WithHttpInfo, this operation returns the response encapsulated in a HttpResponse class.
The HttpResponse class contains the decoded body and the response headers
* Refactor the implementation to use the same approach as the c# generator.
Generate samples
* Refactor the implementation to use the same approach as the c# generator.
Generate docs
* Use Void instead of void for HttpResponse parameterized type
* Update users.yml
Elastic Email is using OpenAPI Generator for it's client libraries
* Elastic Email logo
Co-authored-by: radzaw <radoslaw.zawartko@elasticemail.com>
To avoid this warnings while running rspecs
```
WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:basic_auth, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
```
* update surefire to newer version
* more fixes
* update pet.proto
* update model protobuf template
* add charset
* set line separator
* set proper line break in proto test
* minor fix
* use UTF-8
* use FileUtils.contentEquals
* remove line break
* remove line breaks
* revert utf-8 change