swagger-codegen
swagger-codegen copied to clipboard
[C#] How to mix DateTime and DateTimeOffset in a model?
Description
My model contains properties of both types DateTime and DateTimeOffset. It is crucial for me to keep it that way. But unfortunately, as far as I understand, Swagger can only either generated all of them as DateTime (default behaviour) or as DateTimeOffset (with flag specified). Is there a way to mix those?
Swagger-codegen version
v2.2.1
@ncksol I would suggest you to try the latest 2.3.0 to generate C# API client, which has been refactored and let us know if you're still seeing issue.