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
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: