You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating the domain model using default configuration of dateLibrary (=java8 according to https://openapi-generator.tech/docs/generators/kotlin/) the generated date-time objects are represented by java.time.OffsetDateTime.
These objects are evaluated to strings that look like this:
Description
When generating the domain model using default configuration of dateLibrary (=java8 according to https://openapi-generator.tech/docs/generators/kotlin/) the generated date-time objects are represented by
java.time.OffsetDateTime
.These objects are evaluated to strings that look like this:
Date times should follow the format of RFC 3339 according to https://swagger.io/docs/specification/v3_0/data-models/data-types/#strings
In other words they should look like this:
Workaround: Specify another date library, such as kotlinx-datetime which represents date-times with
kotlinx.datetime.Instant
openapi-generator version
7.9.0
OpenAPI declaration file content or url
Generation Details
Generated using Gradle plugin
Steps to reproduce
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: