NSwag: Cannot use non-string Date Time type with Interface DTOs
If you configure NSwag like so:

Then call a method that returns a date-time or date, the field that should contain a moment will just contain a string.
If you use DTO Type Style: Class, everything works fine as the init method on the generated class converts it.
Is this something we should handle? Or is this why you should be using Type Style: Class instead?
(I expect the same bug happens with Date Time type: Date, but haven’t tested)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (9 by maintainers)
Will do soon 😃 Been a busy week. Would have been much busier without NSwag though!
On Fri, Jan 18, 2019 at 2:13 AM Rico Suter notifications@github.com wrote: