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
This is only after importing the kotlinx-datetime library and adding it as a dependency + test dependency in TestUtils
I think instead we should just map this to type: String with format: date-time -- which is expected by the openapi spec. This will allow openApiGenerator's to create a generated-client specific datetime handler, as kotlinx-datetime should be serializable completely to a date-time.
Instead I think the generated spec should look like:
Ktor-docs doesn't support kotlinx-datetime, instead opting to create a scheme for the LocalDateTime object:
Will generate:
This is only after importing the kotlinx-datetime library and adding it as a dependency + test dependency in
TestUtils
I think instead we should just map this to
type: String
withformat: date-time
-- which is expected by the openapi spec. This will allow openApiGenerator's to create a generated-client specific datetime handler, as kotlinx-datetime should be serializable completely to adate-time
.Instead I think the generated spec should look like:
The text was updated successfully, but these errors were encountered: