【发布时间】:2015-11-02 10:28:11
【问题描述】:
我正在尝试使用基于 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)
但是养蜂场呈现的是
{
"time": {
"default": null,
"times": [
{
"undefined": null
}
]
}
是错误还是我弄错了?
【问题讨论】:
标签: api blueprint apiary.io apiary