[
https://issues.apache.org/jira/browse/FINERACT-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandar Vidakovic resolved FINERACT-1230.
--------------------------------------------
Resolution: Fixed
> 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
> Priority: Major
> Fix For: 1.7.0
>
>
> 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.20.1#820001)