MrNiamh
01/02/2022, 1:02 PMstartDate
is a date. Currently in my swagger.json it has:
"startDate": {
"example": "2021-01-01",
"description": null,
"type": "string"
},
but (i think) i'm expecting:
"startDate": {
"example": "2021-01-01",
"description": null,
"type": "string",
"format": "date"
},
I've defined my bidi lens as:
BiDiMapping<String, LocalDate>({ LocalDate.parse(it) }, { it.format(DateTimeFormatter.ISO_LOCAL_DATE) })
dave
01/03/2022, 9:54 AMMrNiamh
01/03/2022, 1:22 PM