* Add Operation Servers to {operation}Call method
* add getter/setter methods
Add methods for hostIndex and customBaseUrl
* Fix return types for getters
* Add custom baseUrl logic
if you dont specifically declare a custom base url using the set method then it uses the 1st server in the operation host index array
if no custom url is set and the operation base path array is empty however, the call throws an exception
* Update server selection logic
First checks to see if a custom url is provided
If not, checks to see if operation level server is defined and uses the supplied host index (default 0)
If neither is supplied, uses the ApiClient default base path
* Update samples and docs
* Fixed http errors deserialization
I've found this bug in @kubernetes/client-node npm package.
By the way, Here is the issue https://github.com/OpenAPITools/openapi-generator/issues/2924#
* Update typescript-node samples with a fix of error handling
* Update samples version
Co-authored-by: Bogdan Onischenko <bogdan.onischenko@nixsolutions.com>
* [Protobuf-Schema] Add numbered field number list switch
* [Protobuf-Schema] Add numbered field number list switch
* [Protobuf-Schema] Added switch
* [Docs][Protobuf-Schema] Generated docs
Co-authored-by: Tomáš Čermák <cermak@merica.cz>
* Instead of limiting a request to a single file when
performing an upload, use a slice of files so an
arbitrary number of files can be used in the form.
* Remove commented out line of code
* Update examples for multi-form file fix for multiple files
* Convert spaces to tabs for indentation
* Updated examples to have tabs instead of spaces
* Add an example of a multipart/form-data OA3 schema
that contains two files to be uploaded
* try to catch NullPointerException and print error message
* handles invalid specifications when the spec file is invalid
* added comment
* added null pointer exception test
* Fix Kotlin Multiplatform Test
- Remove obsolete 'GRADLE_METADATA' Gradle preview flag from
Kotlin Multiplatform settings.gradle template file.
- Update Kotlin Version to 1.5.31
- Update coroutines, serialization and Ktor versions to the versions
recommended for usage with Kotlin 1.5.31
see https://kotlinlang.org/docs/releases.html#release-details .
Fixes https://github.com/OpenAPITools/openapi-generator/issues/10898
* Add 'clean' task to pom.mustache and reformat sample pom.xml
* Use stable 1.3.0 version of Kotlin serialization
* #10199: Extract from generated function per operation one that returns headers and other info
* add autogenerated output
* fix suspend generation
* fix return statement generation for coroutine variant
* Oauth class with reply server for authorization flow
* multiple scopes. Joined with space seperator
* some refactoring, using urls from the spec
* added implicit flow. Refactored oauth classes.
* added missing {{prefix}} to Oauth class
* added client credentials flow
* added password flow. setVariables for each class
* Refactored variables to fit style. Updated Samples
* [Java] deserialize to LinkedHashSet when unique items
* [Java] fix deserialization of readonly properties
* [Java] deserialize to LinkedHashSet when unique items
* fix(cpp-pistache-server): meson/cmake build
* fix(cpp-pistache-server): Upgrade to C++17 and use std::optional
* feat(cpp-pistache-server): Disable running tests during build of nlohmann/json
* feat(samples): Update server/petstore/cpp-pistache
* Fix breaking regression introduced by #10432
This change forgot enum structures, which causes the compiler to throw errors for "the trait `Default` is not implemented for MyEnum".
This change implements the Default trait to the enum template.
* fix: add Default for type enums
* Replace explicit <Type> with <>
* Remove redundant toString() calls on String
* Use StandardCharsets.UTF_8 instead "UTF-8" string
* Simpler annotation format and redundant this
* Dont concat on empty String, use String.valueOf()
* Dont run equals on empty String
* Use string.anyMatch instead counting
* Collection add all instead iterating and adding
* Replace string contact with append chain in stringBuilders