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 coul… Continue reading Does Asp.Net Core exposes too much information for required enums that were not supplied?