ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.474.0

This commit is contained in:
speakeasybot
2025-01-24 00:27:12 +00:00
parent 412b27f162
commit 9dc8821b31
53 changed files with 2204 additions and 946 deletions

View File

@@ -208,7 +208,15 @@ public class Watchlist implements
Utils.extractByteArrayFromBody(_httpRes));
}
}
if (Utils.statusCodeMatches(_httpRes.statusCode(), "4XX", "5XX")) {
if (Utils.statusCodeMatches(_httpRes.statusCode(), "4XX")) {
// no content
throw new SDKError(
_httpRes,
_httpRes.statusCode(),
"API error occurred",
Utils.extractByteArrayFromBody(_httpRes));
}
if (Utils.statusCodeMatches(_httpRes.statusCode(), "5XX")) {
// no content
throw new SDKError(
_httpRes,