ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.193.0

This commit is contained in:
speakeasybot
2024-02-23 14:46:39 +00:00
parent 966fd34307
commit 8fa47f9bef
117 changed files with 3662 additions and 1104 deletions

View File

@@ -16,7 +16,16 @@ namespace PlexAPI.Utils
internal class DecimalSerializer : JsonConverter
{
public override bool CanConvert(Type objectType) => objectType == typeof(Decimal);
public override bool CanConvert(Type objectType)
{
var nullableType = Nullable.GetUnderlyingType(objectType);
if (nullableType != null)
{
return nullableType == typeof(Decimal);
}
return objectType == typeof(Decimal);
}
public override bool CanRead => true;