[ https://issues.apache.org/jira/browse/FINERACT-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218561#comment-17218561 ]
Michael Vorburger commented on FINERACT-1227: --------------------------------------------- I'm removing {{@retrofit2.http.Header("Content-Length") Long contentLength}} as well.. that doesn't seem like something that an end-user of the API Client would have to specify? OkHttp should automatically figure that out - or not send it, and let the server deal with it (the upcoming {{DocumentTest}} demonstrates that that actually works). > Client Java API for binary document files and images are generated wrong > ------------------------------------------------------------------------ > > Key: FINERACT-1227 > URL: https://issues.apache.org/jira/browse/FINERACT-1227 > Project: Apache Fineract > Issue Type: Bug > Components: SDK > Affects Versions: 1.5.0 > Reporter: Michael Vorburger > Priority: Major > Fix For: 1.5.0 > > > The {{org.apache.fineract.client.services.DocumentsApi.downloadFile(String, > Long, Long)}} (for > {{_entityType_/_entityId_/documents/_documentId_/attachment}}) returns > {{Call<Void>}}.. it's missing the binary downloaded file? > Must be something wrong in the Swagger annotations. -- This message was sent by Atlassian Jira (v8.3.4#803005)