make swagger aware that dates are serialized as longs

This commit is contained in:
Athou
2019-05-03 22:01:18 +02:00
parent 3023f0a7cc
commit c7ba5ca894
4 changed files with 11 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ public class UnreadCount implements Serializable {
@ApiModelProperty
private long unreadCount;
@ApiModelProperty
@ApiModelProperty(dataType = "number")
private Date newestItemTime;
public UnreadCount() {