Fix date-time generation
Closed this issue ยท 1 comments
Tenischev commented
Describe the bug
In Json schema date-time
and time
has a time zone https://json-schema.org/understanding-json-schema/reference/string.html#dates-and-times
In the used generated type LocalDateTime
the time zone is not supported.
How to Reproduce
use schema object:
type: string
format: date-time
Expected behavior
OffsetDateTime is used for date-time
and OffsetTime is used for time
asyncapi-bot commented
๐ This issue has been resolved in version 0.21.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐