I want to create a model class that contains createdDate feild type as LocalDateTime using swagger contract, when implementing using swagger contract it is generating offsetDateTime as type in dto.
Tried with this approach Details added in swagger:
createdDate:
type: string
format: date-time
example: 2017-01-13T17:09:42.411
Please provide correct swagger implementation for this scenario.
Keerthi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.