Date-times in OpenAPI should always be date-time as defined here: https://tools.ietf.org/html/rfc3339#section-5.6. However when date-times are serialised into query parameters they use format string "s" which gives yyyy-MM-ddTHH:mm:ss, omitting the offset. The offset is required for the format and in my case I have an API which NSwag does not work for because it rejects invalid formats with a 400.
Can we please switch the format string used from "s" to "O"?
Date-times in OpenAPI should always be
date-time
as defined here: https://tools.ietf.org/html/rfc3339#section-5.6. However when date-times are serialised into query parameters they use format string"s"
which givesyyyy-MM-ddTHH:mm:ss
, omitting the offset. The offset is required for the format and in my case I have an API which NSwag does not work for because it rejects invalid formats with a 400.Can we please switch the format string used from
"s"
to"O"
?