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)