Skip to content

Commit 0587431

Browse files
author
github-actions[bot]
committed
feat: Updated OpenAPI spec
1 parent 8a59f2b commit 0587431

24 files changed

+96
-0
lines changed

src/libs/Ideogram/Generated/JsonConverters.AspectRatio.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public sealed class AspectRatioJsonConverter : global::System.Text.Json.Serializ
2828
var numValue = reader.GetInt32();
2929
return (global::Ideogram.AspectRatio)numValue;
3030
}
31+
case global::System.Text.Json.JsonTokenType.Null:
32+
{
33+
return default(global::Ideogram.AspectRatio);
34+
}
3135
default:
3236
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
3337
}

src/libs/Ideogram/Generated/JsonConverters.AspectRatioNullable.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public sealed class AspectRatioNullableJsonConverter : global::System.Text.Json.
2828
var numValue = reader.GetInt32();
2929
return (global::Ideogram.AspectRatio)numValue;
3030
}
31+
case global::System.Text.Json.JsonTokenType.Null:
32+
{
33+
return default(global::Ideogram.AspectRatio?);
34+
}
3135
default:
3236
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
3337
}

src/libs/Ideogram/Generated/JsonConverters.AspectRatioV3.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public sealed class AspectRatioV3JsonConverter : global::System.Text.Json.Serial
2828
var numValue = reader.GetInt32();
2929
return (global::Ideogram.AspectRatioV3)numValue;
3030
}
31+
case global::System.Text.Json.JsonTokenType.Null:
32+
{
33+
return default(global::Ideogram.AspectRatioV3);
34+
}
3135
default:
3236
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
3337
}

src/libs/Ideogram/Generated/JsonConverters.AspectRatioV3Nullable.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public sealed class AspectRatioV3NullableJsonConverter : global::System.Text.Jso
2828
var numValue = reader.GetInt32();
2929
return (global::Ideogram.AspectRatioV3)numValue;
3030
}
31+
case global::System.Text.Json.JsonTokenType.Null:
32+
{
33+
return default(global::Ideogram.AspectRatioV3?);
34+
}
3135
default:
3236
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
3337
}

src/libs/Ideogram/Generated/JsonConverters.ColorPalettePresetName.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public sealed class ColorPalettePresetNameJsonConverter : global::System.Text.Js
2828
var numValue = reader.GetInt32();
2929
return (global::Ideogram.ColorPalettePresetName)numValue;
3030
}
31+
case global::System.Text.Json.JsonTokenType.Null:
32+
{
33+
return default(global::Ideogram.ColorPalettePresetName);
34+
}
3135
default:
3236
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
3337
}

src/libs/Ideogram/Generated/JsonConverters.ColorPalettePresetNameNullable.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public sealed class ColorPalettePresetNameNullableJsonConverter : global::System
2828
var numValue = reader.GetInt32();
2929
return (global::Ideogram.ColorPalettePresetName)numValue;
3030
}
31+
case global::System.Text.Json.JsonTokenType.Null:
32+
{
33+
return default(global::Ideogram.ColorPalettePresetName?);
34+
}
3135
default:
3236
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
3337
}

src/libs/Ideogram/Generated/JsonConverters.InternalTestingEnumField.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public sealed class InternalTestingEnumFieldJsonConverter : global::System.Text.
2828
var numValue = reader.GetInt32();
2929
return (global::Ideogram.InternalTestingEnumField)numValue;
3030
}
31+
case global::System.Text.Json.JsonTokenType.Null:
32+
{
33+
return default(global::Ideogram.InternalTestingEnumField);
34+
}
3135
default:
3236
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
3337
}

src/libs/Ideogram/Generated/JsonConverters.InternalTestingEnumFieldNullable.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public sealed class InternalTestingEnumFieldNullableJsonConverter : global::Syst
2828
var numValue = reader.GetInt32();
2929
return (global::Ideogram.InternalTestingEnumField)numValue;
3030
}
31+
case global::System.Text.Json.JsonTokenType.Null:
32+
{
33+
return default(global::Ideogram.InternalTestingEnumField?);
34+
}
3135
default:
3236
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
3337
}

src/libs/Ideogram/Generated/JsonConverters.MagicPromptOption.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public sealed class MagicPromptOptionJsonConverter : global::System.Text.Json.Se
2828
var numValue = reader.GetInt32();
2929
return (global::Ideogram.MagicPromptOption)numValue;
3030
}
31+
case global::System.Text.Json.JsonTokenType.Null:
32+
{
33+
return default(global::Ideogram.MagicPromptOption);
34+
}
3135
default:
3236
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
3337
}

src/libs/Ideogram/Generated/JsonConverters.MagicPromptOptionNullable.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ public sealed class MagicPromptOptionNullableJsonConverter : global::System.Text
2828
var numValue = reader.GetInt32();
2929
return (global::Ideogram.MagicPromptOption)numValue;
3030
}
31+
case global::System.Text.Json.JsonTokenType.Null:
32+
{
33+
return default(global::Ideogram.MagicPromptOption?);
34+
}
3135
default:
3236
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
3337
}

0 commit comments

Comments
 (0)