ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.204.1

This commit is contained in:
speakeasybot
2024-03-08 00:38:57 +00:00
parent f8e29c091a
commit 0d384a1631
147 changed files with 4104 additions and 1755 deletions

View File

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