I am new to swagger and asp.net core. While executing an endpoint, instead showing jSon schema want to show sample data so that user can understand what exactly the API is looking for.
In my application it is showing like the 1st pic but I want like the 2nd pic. Can anyone help me doing this. Advance thanks.
Class used as below...
Public class Employee{
public string parameter1 { get; set; }
public string parameter2 { get; set; }
public string parameter3 { get; set; }
public string parameter4 { get; set; }
public int parameter5 { get; set; }
public int parameter6 { get; set; }
}