You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/10/20 18:07:00 UTC

[jira] [Created] (FINERACT-1230) SDK Swagger Client Java API mixes Long and Integer for IDs

Michael Vorburger created FINERACT-1230:
-------------------------------------------

             Summary: SDK Swagger Client Java API mixes Long and Integer for IDs
                 Key: FINERACT-1230
                 URL: https://issues.apache.org/jira/browse/FINERACT-1230
             Project: Apache Fineract
          Issue Type: Bug
          Components: SDK
            Reporter: Michael Vorburger


It seems to me that the code generated from our OpenAPI Swagger metadata mixes up Long and Integer for IDs somewhere.

For example, if in org.apache.fineract.client.services.DocumentsApi.getDocument(String, Long, Long) the entity ID is Long, why does GetClientsResponse have an Integer getId()...

We IMHO should just use Long everywhere for everything, in the API (even if in the implementation it's still Integer).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)