You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing of DateTime Object like 2023-09-29T00:00:00+09:00
Actual Behavior
Does not parse successfully
Error message: parse request payload error: failed to parse "string(date-time)": premature end of input (occurred while parsing "testStruct") (occurred while parsing "testStruct1")
Error appears when using the rust type chrono::DateTimechrono::Utc as part of a struct.
It works... I have a structure with two fields of type chrono::DateTimechrono::Utc. In the SwaggerUI the date is represented as "" if left empty. This value cannot be parsed and throws the error. So you have to pass a valid date either way.
Expected Behavior
Parsing of DateTime Object like
2023-09-29T00:00:00+09:00
Actual Behavior
Does not parse successfully
Error message:
parse request payload error: failed to parse "string(date-time)": premature end of input (occurred while parsing "testStruct") (occurred while parsing "testStruct1")
Error appears when using the rust type chrono::DateTimechrono::Utc as part of a struct.
see also #436
The text was updated successfully, but these errors were encountered: