Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When a provider has a rest operation whose response is List<Pack>, and the type Pack is like below
public class Pack{ private String name; private int i; // PackageProp is a type defined by user, and it only contains simple java type private List<PackageProp> packagePropList; } public class PackageProp{ private String name; private int j; private String prop; }
We can use postman to invoke the rest operation directly and it works well. But if we invoke this operation via EdgeService, the response body will be deserialized in edge unproperly. The edge treat the response List<Pack> as List<PackageProp>.
Attachments
Attachments
Issue Links
- links to