* Fix Java equals and hashCode methods to work with inheritence (#5756)
* Regenerate code samples with improved hashCode/equals
---------
Co-authored-by: Andrew Pikler <andrew.pikler@earnix.com>
* fix: use length to check for default return media type
as `mediaTypes` is an array of strings and an required argument
it will never be undefined when we can rely on the typesystem.
However, it can be zero length(`[]`) and in this case we would
throw.
* Closes#15011
* chore: update examples
* Convert `DioError` to `DioException`
* Update samples
* Update dio version in example
* Use proper dio version
* Regenerate dart samples
* Regenerate
* Regenerate samples
* update samples
* remove outdated test files
* update test
* remove outdated test files
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
* added new vendor extenion
* moved code to methods to enable overriding
* fixed tests
* renamed method to setTypeMapping
* removed commented code
* moved code to make diff easier to understand
* removed commented code
* process all operation parameter collections
* fixed bugs
* fixed bugs
* changed stability in ScalaSttpClientCodegen
* updated files from scripts
---------
Co-authored-by: Adam Fish Rybicki <adamrybicki@adams-macbook-pro.home>
* added new vendor extenion
* moved code to methods to enable overriding
* fixed tests
* renamed method to setTypeMapping
* removed commented code
* moved code to make diff easier to understand
* removed commented code
* added property in HttpSIgningConfiguration to accept API key in string format.
* remove trailing space, update samples
* updated the sample code.
* Revert "updated the sample code."
This reverts commit 5b945c7a59ef03782dc5f48d97784894d6b41614.
* fix the sample code compilation error for split function.
* updated the sample code after the split function fix.
* Removed the either or check for filePath or KeyString.
---------
Co-authored-by: Aanisha Mishra <aanisha.mishra05@gmail.com>
Co-authored-by: Vikrant Balyan (vvb) <vvb@cisco.com>
Co-authored-by: Vikrant Balyan <vvb@users.noreply.github.com>
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
* (fix): required-fields constructor uses super-call-parameters in the order of the parent required-field constructor
* (fix): required-fields constructor uses super-call-parameters in the order of the parent required-field constructor - add issue number
* (fix): required-fields constructor uses super-call-parameters in the order of the parent required-field constructor - fix file reference
* fix(ktor-client): do not add jsonBlock if using kotlinx-serialization
* update existing templates
* add new kotlin-jvm-ktor-kotlinx_serialization
* add new kotlin-jvm-ktor-kotlinx_serialization to samples-kotlin-client.yaml pipeline
actually, kotlin-jvm-ktor-gson was duplicated, so I'm replacing the second one by kotlin-jvm-ktor-kotlinx_serialization
* extra FILES entry in the template
* enumUnknownDefaultCase=false for now since it's currently broken for ktor + kotlinx_serialization
* use openapi 3 petstore