'ZonedDateTime in openapi-generator

Im was using openapi-generator with field:

Action:
   date:
      type: string
      format: date-time

But now I have to be able to pass zone to service along with action. I haven't found any Zone-based format. I could map this in service from plain string to ZoneDateTime, but im looking for less ugly solution. Thanks for help :)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source