Closed Maple-mxf closed 3 years ago
这在存在JSON Array的情况下表现的比较突出,Object情况下没有发现其他问题
"sendDetail" : {
"content" : [ {
"name" : "Kobe",
"recipient" : "m17793873123@163.com",
"state" : "SUCCESS",
"callback" : false
} ],
"totalElements" : 1
}
映射出来的结果为
{
"sendDetail" : {
"content" : null,
"totalElements" : 1
},
"content" : [ null ]
}
https://github.com/Open-source-sharing/REST-doc/blob/fc4a0c1046faea7912408cac8d49b723941930ec/restdoc-web/src/test/kotlin/restdoc/web/util/JsonProjectorTest.java#L26