在我的项目中,我看到了distribution-karaf-0.7.3-Nitrogen-SR3
版本的问题。
如果具有空数组值的属性为PUT / POST,则GET返回没有该属性的数据。 例如
if
{
"Name": "hello",
"design-date-utc": 1565042299000,
"flows": []
}
is added through PUT/POST method and when we try to retrieve the data by running GET we get the following:
{
"Name": "hello",
"design-date-utc": 1565042299000
}
尝试手动添加,但是它没有从GET返回值
预期:它应该返回如下值:
{
"Name": "hello",
"design-date-utc": 1565042299000,
"flows": []
}
实际输出为:
{
"Name": "hello",
"design-date-utc": 1565042299000
}