无法呈现 JSON/JSONSchema。 MSON 定义中无效的对象成员类型
unable to render JSON/JSONSchema. Invalid member type of object in MSON definition
我有 API 文档,但突然没有任何更改,它开始在响应 200 (application/json) 行抛出验证警报 unable to render JSON/JSONSchema. Invalid member type of object in MSON definition
。
+ Response 200 (application/json)
+ Attributes (Restaurant Full)
我尝试 google 它,但我看不出我做错了什么。感谢您的帮助!
免责声明:我在养蜂场工作
该消息表明 Restaurant Full 对象定义中存在错误 - 其中一个成员的类型无效。
此错误与对象类型成员有关,原始类型不会产生此错误。例如 - 如果您使用这样的字符串示例值定义对象类型成员,则会抛出该问题:
+ Attributes (Restaurant Full):
+ `invalid-member-type`: sample value (object)
如果这不能解决您的问题,您可以 post 您对 Restaurant Full 对象的定义吗?
我有 API 文档,但突然没有任何更改,它开始在响应 200 (application/json) 行抛出验证警报 unable to render JSON/JSONSchema. Invalid member type of object in MSON definition
。
+ Response 200 (application/json)
+ Attributes (Restaurant Full)
我尝试 google 它,但我看不出我做错了什么。感谢您的帮助!
免责声明:我在养蜂场工作
该消息表明 Restaurant Full 对象定义中存在错误 - 其中一个成员的类型无效。
此错误与对象类型成员有关,原始类型不会产生此错误。例如 - 如果您使用这样的字符串示例值定义对象类型成员,则会抛出该问题:
+ Attributes (Restaurant Full):
+ `invalid-member-type`: sample value (object)
如果这不能解决您的问题,您可以 post 您对 Restaurant Full 对象的定义吗?