* 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>
* Add unit tests for bug in imports for oneOf schemas with additional properties set to true #21587
* Fix bug in filtering primitive, built-in types from model imports in TypeScriptFetchClientCodegen
* Add YAML OAS file for #21587
* Revert change to issue_21259.yaml
* Remove comment from issue_21259.yaml
* Filter out arrays from oneOfModels along with primitive types
* Update issue_21587 unit test to catch the Array<Model> case
---------
Co-authored-by: Chris Gual <cgual@omnidian.com>
* Update AWS Go SDK from v1 to v2 in Go client templates (#3)
* Initial plan
* Update AWS Go SDK from v1 to v2 in Go client templates
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com>
* Final validation: AWS SDK v2 integration working correctly
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com>
* Fix AWS v4 signature implementation: retrieve credentials properly from provider
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com>
* Fix AWS v4 signature payload hash: properly compute SHA-256 hash for request body
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com>
* Implement proper payload hashing
* Revert go.sum file to original state as requested
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com>
* Revert go.mod and rename import alias from v4 back to awsv4
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com>
* Revert go.mod file to original state removing all changes
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com>
* Rename credentials import to awscredentials alias as requested
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com>
* Fix spacing
* Fix credentials and imports
* Update aws sdk to latest version
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: dennismouwen-eye <107839749+dennismouwen-eye@users.noreply.github.com>
Co-authored-by: Dennis Mouwen <dennis.mouwen@eye.security>
* Update indenting
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.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>
* [Bugfix][Maven-Plugin] Bugfix for remote input specs with parameters
If the inputSpec was a web address that contained parameters, code generation would fail, because the filepath would contain illegal characters, since the code inside the if-block would be skipped. A side effect of this was, that in the log and in the filename in linux the parameters would be leaked, which could potentially sensitive information like Gitlab Access Tokens
* [Test][Gradle Plugin] Update GenerateTaskDslTest.kt
Extended the Test for testing remote inputSpecs with urlParams, a case that caused problems in the maven plugin.
* 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>
* [kotlin-spring] add a Spring type converter for enum values #21564
* [kotlin-spring] simplify unit test for inner enum converter
* update samples
* code review feedback; move containsEnums to ModelUtils
* code review feedback; provide comment for generated EnumConverterConfiguration.kt
* update samples
---------
Co-authored-by: Chris Gual <cgual@omnidian.com>
* [java-spring] provide a clarifying comment for the generated EnumConverterConfiguration class
* update samples
---------
Co-authored-by: Chris Gual <cgual@omnidian.com>