Fix issue575 "Nested generics seem to have issues with support." #577
-
Bug CauseThe issue in issue575 is: The underlying cause is that QDox fails to parse the generics of method return values in interfaces. However, smart-doc provides support for the JPA Page interface, but the code in ParamsBuildHelper was modified, not JsonBuildHelper. Only the generated JSON data is correct. Test CaseThe test case is in JpaController. Response-fields:<body>
<!--StartFragment-->
content | array | No comments found. | -
-- | -- | -- | --
└─any object | object | any object. | -
<!--EndFragment-->
</body>
</html> Response-example: "content": [
{
"roleId": 0,
"roleName": "",
"age": 0
}
] JsonBuildHelper CodeParamsBuildHelper CodeCommit History8b1aa8bQuestionsI cannot understand the scenario of commit 8b1aa8b, and after reviewing the change logs from May and June 22, there is no relevant information. Can we directly revert this commit? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@chenqi146 麻烦有空时解答一下 |
Beta Was this translation helpful? Give feedback.
-
fix by #587 |
Beta Was this translation helpful? Give feedback.
fix by #587