Does Asp.Net Core exposes too much information for required enums that were not supplied?


I have a simple code for an input model:

public class MyClass {     [Required]     public MyEnum? Type { get; set; } } 

Now if I do not send Type as a part of json to the request, I get this error from Web.Api:

“The JSON value could not be converted to System.Nullable`1[MyNamespace.MyClass]. Path: $ .type | LineNumber: 2 | BytePositionInLine: 16.”

This really looks like information exposure to me, though I cannot see any real danger in exactly this information, but still, more that nothing.

Is it of any real concern or is it just fine?