* Exclude the discriminator field from getting a nullable_var_annotations
* Update samples
* Manually add annotations since the remote pipeline insists that they should be there
* Add description for why the discriminator does not have a nullability-annotation
* Update samples
* #21582 [BUG][dart-dio] Bug generating inline enums with common names
* #21582 [BUG][dart-dio] Bug generating inline enums with common names added petstore test
* #21582 [BUG][dart-dio] Bug generating inline enums with common names added generated samples to commit.
* #21582 [BUG][dart-dio] Bug generating inline enums with common names removed bug test files that were duplicates
* #21582 [BUG][dart-dio] Bug generating inline enums with common names. Added generated files that were missed.
* #21582 [BUG][dart-dio] Bug generating inline enums with common names. Added generated files that were missed.
* #21582 [BUG][dart-dio] Bug generating inline enums with common names. Added generated files that where updated as a result of changes in master.
* fix(typescript): add Date instance check before date formatting
* chore(typescript): generate samples
* fix: resolve type errors in ObjectSerializer Date formatting
* chore: update samples
* chore: ensure-up-to-date
* [Rust] fix: add location prefix to prevent parameter name collisions when escaping parameter names
* chore: update samples
* [Rust] fix: do not use locationSuffix if useSingleRequestParameter feature is enabled
* Add ContentStream property to ApiResponse
* Add a constructor which sets ContentStream
* Create and use a memory stream for binary model types
* Remove extra space
* Update samples
* Add {{nrt?}} to support older versions
* Remove public modifier for interface property
* Use ValueConverter method for enums to output in the correct JSON format
* Fix doc comment
* Update samples
* Call ToString on return value of converter
* Update samples
* Update samples
* Add test
* composed enums
* revert sample changes
* add new sample due to HttpClient library not working with the new models
* added to appveyor
* build samples again
* started fixing multiple issues
* weather api builds
* added docstring
* ensure property names are unique
* force pr gates to restart
* force pr gates to restart
* force pr gates to restart
* force pr gates to restart
* Adjust header serialization for Optional values
* Add additional test verification to display the header type
* Do not get a null value from an option if it is empty, but rather keep the None value. If a value is present it is converted to an Option[String]
* kotlinx serialization fixes
- added new config with kotlinx, discriminator (/w custom name) and
kotlinx_serialization
- remove discriminator properties from the generator in both base and
derived classes
- set discriminatorValue in additionalProperties of derived classes
- add JsonClassDiscriminator the derived classes in the template
- set SerialName to discriminatorValue in the template
- change base classes to sealed class instead of interface
- make variables in base classes abstract
* Generated kotlin-allOff-discriminator-kotlinx-serialization sample
* Added test for kotlinx_serialization with discriminator
* renamed yaml
* Added new sample to github workflow
* Added comments to KotlinClientCodegen::postProcessAllModels
* fix bug for returning uninitialized variable for serialization method in oneOf models with discriminator
* Update samples
---------
Co-authored-by: Chris Gual <cgual@omnidian.com>
* Modify unit tests for typescript-fetch, issue 21259 to check for closing parens & fix a typo in TypeScriptFetchModelTest
* Fix bug in closing parens in modelOneOf.mustache and some spacing adjustments
* Update samples
---------
Co-authored-by: Chris Gual <cgual@omnidian.com>
* Add setting for generating the oneOf interfaces as sealed interfaces
* Generate samples
* Add internal java17 additionalProperty setting
* Move samples to highlight that they do not use the petstore
* Align documentation
* Update samples
* Align documentation
* Update mustache files and samples to change gradle settings to java17
* [php] Backport #21458 to php client
Fixes#21485
Credits to @jozefbriss
* [php] Fix deprecation warning when running integration tests
OpenAPI\Client\FakeHttpClient::setResponse(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead
---------
Co-authored-by: simonhammes <simonhammes@users.noreply.github.com>
* add bearer capability
* avoid using shared state
* revert needless change
* Revert authentication changes from unused root Java/api.mustache template
* applied change to correct lib type
* updated test files
* made security method more generic for flexibility
* regenerated samples
* further cleanup
* code style
* regenerated samples
* made header assignment more explicit, per each method
* fixed extra comma
* fixed commas, regenerated samples
* moved header population to utility method
* moved static class inside main class
* regenerated samples
* added comments, fixed indentation
* regenerated samples
---------
Co-authored-by: Ilya Nemtsev <ilyanemtsev@192.168.1.34>