Hi, I found a problem with dateTime type. Steps: * Try to validate/serialize an OpenApi definition containing `dateTime` schema (e.g. [Docker Engine API](https://docs.docker.com/engine/api/v1.37/swagger.yaml)). Result: * `OpenApiWriterException: The type 'System.DateTimeOffset' is not supported in Open API document. ` Proposed solution: * Add support to DateTimeOffset, ISO 8601 style : `Writer.Write(value.ToString(@"O"))`.
Activity
darrelmiller commentedon Apr 25, 2018
Thanks for the feedback. I will investigate.
darrelmiller commentedon Apr 25, 2018
I was able to reproduce and resolve. I need to add some tests around this, but I think we should be able to include this our 1.0 release.