You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Aleksandar Vidakovic (Jira)" <ji...@apache.org> on 2022/03/31 07:27:00 UTC

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

     [ https://issues.apache.org/jira/browse/FINERACT-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksandar Vidakovic reassigned FINERACT-1230:
----------------------------------------------

    Assignee: Aleksandar Vidakovic

> 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
>            Assignee: Aleksandar Vidakovic
>            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)