I want my OpenAPI spec to display the list of both the objects like below but I'm unable to do so.
[
{
"studentID": 1,
"studentName": "Ram"
},
{
"studentID": 2,
"studentName": "Shyam"
}
]
Swagger Spec in editor.swagger.io: