Fields of type Date that are not explicitly serialized with Iso8601DateSerializer are automatically serialized as UNIX epoch timestamp in milliseconds. However the OpenAPI spec declared them to be of type string in date-time format, which is incorrect.
Instead of changing the field's actual type, causing a breaking change, provide a type hint to the OpenAPI generator.
Description
Fields of type
Date
that are not explicitly serialized withIso8601DateSerializer
are automatically serialized as UNIX epoch timestamp in milliseconds. However the OpenAPI spec declared them to be of typestring
indate-time
format, which is incorrect.Instead of changing the field's actual type, causing a breaking change, provide a type hint to the OpenAPI generator.
Addressed Issue
Fixes #1276 Fixes #2591
Additional Details
Checklist