Using 2024.3 of the spring processor I have this in an OpenAPI spec:
"startDate": {
"type": "string",
"format": "date-time"
},
I have this in my mapping.yml:
types:
- type: string:date-time => java.time.LocalDate
But is is still generating with OffsetDateTime:
@JsonProperty("startDate")
OffsetDateTime startDate,
With this version of the base plugin:
plugins {
id 'io.openapiprocessor.openapi-processor' version '2023.2'
}