无法呈现JSON / JSONSchema。 MSON定义中的对象的成员类型无效

时间:2016-05-10 06:16:38

标签: apiblueprint apiary

我有API文档,突然没有任何更改,它开始在Response 200(application / json)行抛出验证警告unable to render JSON/JSONSchema. Invalid member type of object in MSON definition

+ Response 200 (application/json)
    + Attributes (Restaurant Full)

我试图谷歌,但我看不出我做错了什么。谢谢你的帮助!

1 个答案:

答案 0 :(得分:2)

免责声明:我为Apiary工作

该消息表明Restaurant Full对象定义中存在错误 - 其中一个成员的类型无效。

此错误与对象类型成员有关,原始类型不会产生此错误。例如 - 如果您使用如下字符串样本值定义对象类型成员,则会抛出它:

+ Attributes (Restaurant Full):
    + `invalid-member-type`: sample value (object)

如果这不能解决您的问题,您可以发布Restaurant Full对象的定义吗?