Say I have:
public class Parent{
[ApiMember(Name = "parentItem")]
public string Item {get; set;}
}
and
public class Child : Parent {
[ApiMember(Name = "childItem")]
public new string Item {get; set;}
}
Since the 'Item' property in the parent class should be hidden, why does making a request with {"childItem": "something"}
returns Could not find property childItem on RequestObject
? That said, what is the best way (or is there a way) to rename inherited API members/properties in the subclass?