stadiamaps / osrm-openapi

OpenAPI spec for Valhalla-flavored OSRM Models
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Re-enable date-time once supported by kotlin #9

Open Archdoog opened 3 months ago

Archdoog commented 3 months ago

https://github.com/OpenAPITools/openapi-generator/issues/1271

Platform class java.time.OffsetDateTime requires explicit JsonAdapter to be registered
for class java.time.OffsetDateTime dataVersion
for class com.osrm.api.models.RouteResponse
java.lang.IllegalArgumentException: Platform class java.time.OffsetDateTime requires explicit JsonAdapter to be registered
for class java.time.OffsetDateTime dataVersion
for class com.osrm.api.models.RouteResponse

https://github.com/ttnmapper/ttnmapper-android-v3/blob/master/app/src/main/java/org/ttnmapper/phonesurveyor/model/ttnV3/OffsetDateTimeAdapter.kt