Allow generating custom DateTime classes for date-time fields
You can now specify for each specification what class should be used for serializing and deserializing date
and date-time
fields in this API
open_api_server:
specs:
petstore:
date_time_class: '\Carbon\CarbonImmutable'
The specified class should be an implementation of \DateTimeInterface