empty DateTime shouldn't be valid
mjvm opened this issue · comments
The defaultFormats.MapStructureHookFunc
converts an empty datetime
string to epoch time which shouldn't be allowed and tricks go-swagger to validate an empty string as a valid datetime
.