trying to get a name of an array field to show up. trying to the following:
{
history: []
}
and I have in my doc:
responses:
'200':
description: OK
schema:
$ref: '#/definitions/historyList'
in definitions...
historyList:
type: array
items:
$ref: '#/definitions/History' #my object of many values
I have tried the name on the schema level in the response, and in the array itself, and it always just comes through as "array". The swagger doc, there has to be something obvious I am missing on this.
Thanks