You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Classes with Guid typed properties are now annotated with a [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)] attribute, which is causing the following serialization error to be thrown when calling ToJson() on the object:
System.InvalidOperationException : The ignore condition 'JsonIgnoreCondition.WhenWritingNull' is not valid on value-type member 'Id' on type 'MyClass'. Consider using 'JsonIgnoreCondition.WhenWritingDefault'.
The issue first appeared in 13.16.0 and was last working in version 13.15.10.
The text was updated successfully, but these errors were encountered:
System.InvalidOperationException : The ignore condition 'JsonIgnoreCondition.WhenWritingNull' is not valid on value-type member '...' on type '...'. Consider using 'JsonIgnoreCondition.WhenWritingDefault'.
NSwag.ApiDescription.Client: 13.16.1
Generating a client with the following
OpenApiProjectReference
options:Consider the following type:
Classes with
Guid
typed properties are now annotated with a[System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
attribute, which is causing the following serialization error to be thrown when callingToJson()
on the object:The issue first appeared in 13.16.0 and was last working in version 13.15.10.
The text was updated successfully, but these errors were encountered: