forked from loafle/openapi-generator-original
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 #9442 Closes #5442