Hi there,

I noticed that Swagger generates a generic "date-time" format for 
java.time.LocalDateTime. I see in the data types documentation 
<https://swagger.io/docs/specification/data-models/data-types/> that points 
to RFC3339, section 5.6 <https://tools.ietf.org/html/rfc3339#section-5.6> 
that date-time includes a time offset, but LocalDateTime purposely does 
not. This has caused some confusion with users of our API, who converted 
their datetime to UTC and sent a zero offset when we were expecting the 
original datetime.

Is there anything we can do to mitigate this issue?

Best,

Robert

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to