Array's in Model is not showing up properly in model schema.
For my Model :
RedemptionRequest {
items (array[RedemptionItem]): List of Items to Redeem
}
RedemptionItem {
itemId (string): Client Side item identifier,
description (string): Item description,
amount (BigDecimal): Item Cost,
points (integer): Points to redeem,
category (string): Redemption Category - must be one of the category from balance response
}
I see the model schema as:
{
"items": [
"RedemptionItem"
]
}
Note: It works at http://swagger.wordnik.com/#!/pet/addPet_post_5
Tag arrays show up in as expected in above link :
"tags": [
{
"id": "integer",
"name": "string"
}
],