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
@@ -15,7 +15,7 @@ It is generated with [Stainless](https://www.stainless.com/).
15
15
16
16
<!-- x-release-please-start-version -->
17
17
18
-
The REST API documentation can be found on [developer.onebusaway.org](https://developer.onebusaway.org). Javadocs are available on [javadoc.io](https://javadoc.io/doc/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.56).
18
+
The REST API documentation can be found on [developer.onebusaway.org](https://developer.onebusaway.org). Javadocs are available on [javadoc.io](https://javadoc.io/doc/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.57).
19
19
20
20
<!-- x-release-please-end -->
21
21
@@ -26,7 +26,7 @@ The REST API documentation can be found on [developer.onebusaway.org](https://de
Although the SDK uses reflection, it is still usable with [ProGuard](https://github.com/Guardsquare/proguard) and [R8](https://developer.android.com/topic/performance/app-optimization/enable-app-optimization) because `onebusaway-sdk-java-core` is published with a [configuration file](onebusaway-sdk-java-core/src/main/resources/META-INF/proguard/onebusaway-sdk-java-core.pro) containing [keep rules](https://www.guardsquare.com/manual/configuration/usage).
To customize the underlying OkHttp connection pool, configure the client using the `maxIdleConnections` and `keepAliveDuration` methods:
@@ -553,7 +579,9 @@ In rare cases, the API may return a response that doesn't match the expected typ
553
579
554
580
By default, the SDK will not throw an exception in this case. It will throw [`OnebusawaySdkInvalidDataException`](onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/errors/OnebusawaySdkInvalidDataException.kt) only if you directly access the property.
555
581
556
-
If you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:
582
+
Validating the response is _not_ forwards compatible with new types from the API for existing fields.
583
+
584
+
If you would still prefer to check that the response is completely well-typed upfront, then either call `validate()`:
0 commit comments