I have a model
public class Item
{
public int Id { get; set; }
public string ItemName { get; set; }
}
i like to show the Property ItemName as ServiceName in api end point as well as in swagger. Where user will get/post the data as ServiceName but in the back end it will bind to ItemName. Other important think is ServiceName should be dynamic, It come from database, where if i change ServiceName to ProductName then it should bind ProductName to ItemName. I am using asp.net core 2.2 with EF core and swagger ui.