This patch addresses an issue where csharp-netcore failed to generate compilable code when required attributes were of complex types.
By using the non-shorthand syntax for checking if the value is set, and throwing an error in that case, the compile issues have been resolved.
Closes#9442Closes#5442
* suspend method is now non-blocking
* added required imports
* generated the samples
* suspend method is now non-blocking
* added required imports
* generated the samples
* Cancelling the call when the coroutine is cancelled
Only use coroutines when requested
Not adding potentially unavailable imports
Co-authored-by: Guus Bloemsma <Guus.Bloemsma@Rabobank.nl>
* Return content type on default spring reactive responses
* Return content type on default spring reactive responses
* Refactor apiUtil and use request mediaType
Co-authored-by: Joshua Bridge <jbridg12@jaguarlandrover.com>
* Enable using more recent CMake versions
Remove default build type
Add OpenSSL using imported targets
PreTarget and PostTarget scripts
Do not build as shared by default
Fix typos
* Default to building shared libraries
* Remove add_compile_definitions()
Correctly add target link libraries
* Fix syntax
* Fix Indentation
* [cpp-ue4] implemented null check and fatal log for GetHttpRetryManager]
* [cpp-ue4] reimplemented null check as checkf rather than Fatail UE_LOG
* [cpp-ue4] regenerated samples and docs
* [cpp-ue4] Fixed a bug where respose json parsing was not taking 'writeOnly' or 'required' into account and was logging a error to the console when there was no actual problem.
* [cpp-ue4] Moved comments to tail of line in response to improve code appearance. Added baseName to comments for clarity of reading.
* [cpp-ue4] removed comments from template from previous commits.
* [cpp-ue4] added back ParseSuccess flag flip for TOptional, as the templated version of TryGetJsonValue does actually handle the absense of the field correctly for TOptional.
* [cpp-ue4] reworked looping in model source template's FromJson to better mirror the loop in WriteJson
* [cpp-ue4] more concise version of writeOnly change to FromJson
* adding a test for issues 10083
* commiting the generated files
* fix for the setattr issue
* commit generated files
Co-authored-by: Aanisha Mishra <aanisha.mishra05@gmail.com>
* K6 Generator - Support for extracting parameter examples & minor fixes
* K6 Generator - Support for extracting parameter examples & minor fixes
PR checklist: update samples
* K6 Generator - Support for extracting parameter examples & minor fixes
Fixed indentation
Quarkus, as one potential target for using the Java microprofile client
generator, requires a Jandex index to be present in library jars for
discovering beans inside these jars. Therefore, include Jandex index
generation in the pom.xml for microprofile clients as explained here:
https://quarkus.io/guides/cdi-reference#how-to-generate-a-jandex-index
Generating and shipping the index is only a small overhead that is
probably not worth an additional client option.