I'm trying to describe array of objects with syntax based on this answer
+ Response 200 (application/json)
+ Attributes
+ time (object, required)
+ default (string, required) - `HH:MM` default time
+ times (array, required) - Array of times for date
+ time (object)
+ value: 12:00 (string, required) - `HH:MM` time value
+ occupied: true (boolean, required)
But what apiary renders is
{
"time": {
"default": null,
"times": [
{
"undefined": null
}
]
}
Is it bug or I got it wrong?