Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ public class PredictionListResponseJsonConverter : global::System.Text.Json.Seri
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}

global::WaveSpeedAI.PredictionListResponseVariant2? predictionListResponseVariant2 = default;
try
Expand All @@ -45,6 +49,10 @@ public class PredictionListResponseJsonConverter : global::System.Text.Json.Seri
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
var __value = new global::WaveSpeedAI.PredictionListResponse(
api,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ public class TaskResponseJsonConverter : global::System.Text.Json.Serialization.
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}

global::WaveSpeedAI.TaskResponseVariant2? taskResponseVariant2 = default;
try
Expand All @@ -45,6 +49,10 @@ public class TaskResponseJsonConverter : global::System.Text.Json.Serialization.
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
var __value = new global::WaveSpeedAI.TaskResponse(
api,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ public class UploadResponseJsonConverter : global::System.Text.Json.Serializatio
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}

global::WaveSpeedAI.UploadResponseVariant2? uploadResponseVariant2 = default;
try
Expand All @@ -45,6 +49,10 @@ public class UploadResponseJsonConverter : global::System.Text.Json.Serializatio
catch (global::System.InvalidOperationException)
{
}
catch (global::System.ArgumentOutOfRangeException __enumTokenException) when (__enumTokenException.ParamName == "reader")
{
// Legacy enum converters signal an incompatible JSON token with this exception.
}
var __value = new global::WaveSpeedAI.UploadResponse(
api,

Expand Down
Loading