We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bdb70a commit 17fed9bCopy full SHA for 17fed9b
src/JsonApiDotNetCore.OpenApi/MemberInfoExtensions.cs
@@ -22,7 +22,7 @@ public static TypeCategory GetTypeCategory(this MemberInfo source)
22
}
23
else
24
{
25
- throw new NotSupportedException($"Cannot get the type category for members of type '{source.MemberType}' is not supported.");
+ throw new NotSupportedException($"Member type '{source.MemberType}' must be a property or field.");
26
27
28
if (memberType.IsValueType)
0 commit comments