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
**sdk**: Bump `openapi-generator` to 7.24.0 and add `ApiException.getErrorEntity()`, which automatically deserializes error response bodies into their typed model (e.g. `ErrorResponse`) when available.
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,19 @@ public class FingerprintApiExample {
187
187
}
188
188
```
189
189
190
+
## Handling errors
191
+
192
+
`ApiException` exposes the raw response body via `getResponseBody()`. When it matches a known model, it's also available pre-deserialized via `getErrorEntity()`:
Copy file name to clipboardExpand all lines: template/README.mustache
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,19 @@ public class FingerprintApiExample {
187
187
}
188
188
```
189
189
190
+
## Handling errors
191
+
192
+
`ApiException` exposes the raw response body via `getResponseBody()`. When it matches a known model, it's also available pre-deserialized via `getErrorEntity()`:
0 commit comments