forge-api-java-client icon indicating copy to clipboard operation
forge-api-java-client copied to clipboard

Autodesk java api response mapping

Open StephenCADshare opened this issue 3 years ago • 0 comments

https://stackoverflow.com/questions/69270000/autodesk-java-api-response-mapping

We are using the forge-api-java-client. There is an issue in Model Derivatives getManifest call.

The response fails mapping with a single Message String being returned instead of the expected String Array.

Have switched to using local build of the jar, change in file Message.java

public void setMessage(String message) {
    List<String> messages = new ArrayList<>();
    messages.add(message);
    setMessage(messages);
  }

Could this change be merged into the project.

StephenCADshare avatar Sep 21 '21 13:09 StephenCADshare