Hi,
The JSON rendered from Swagger UI displays the type for date-time property as "string". Swagger Documentation states that the type has to be String and doesn't have a special way of showing 'dates' but is there anyway possible that we can change the type from "string" to "date".I have tried hard-coding the type using annotation #@ApiModelProperty(dataType="date") but it didn't work. Is there anyway that we can display the type as "date" instead of "string", and generate default values? Any suggestion for this ?
The comments for the tickets on the same issue #1183 & #462 states that it would be solved in the next version. Can someone let me know if this is resolved ,if yes please let me know the version.
It's not yet supported in the new UI.
@webron thanks for the response. When can we expect a new version with the update ?
No ETA. To set expectations - this is not something we're going to work on soon, but we'll review PRs that add support for it.
This would be a useful feature since not all dates include the time format.
Any news about this feature?
Holy hell in a handbasket, how is this not supported yet?
At the very least, setting the datatype label to read "date" or "date-time" and specifying a format mask on the input field as per RFC 3339 would go 90% of the way to implementing this feature.
Most helpful comment
Any news about this feature?