How do I pass an array object to a parameter in swagger UI? This is a GET request. I have a request parameter of Data Type: Array[] and Parameter Type: query. I have tried with below arrays and it doesnt seem to work. I am not familiar with Swagger usage. Unable to figure out the issue.
["dataType": 1,"value": "test","orderid": 1]
[1,1 , 1, 1]
[{1,1 , 1, 1}]
[{"dataType": 1,"value": "test","orderid": 1}]
[ dataType: 1]
Model:
public class ItemModel
{
public int DataType { get; set; }
public string Value { get; set; }
public int OrderId { get; set; }
}