adamsaghy commented on PR #5946:
URL: https://github.com/apache/fineract/pull/5946#issuecomment-4855192159

   > > Please make sure the swagger and the result DTO is matching!
   > 
   > @adamsaghy I've verified the actual server response for both `GET 
/standinginstructions` (list) and` GET /standinginstructions/{id}` (single 
record) against a locally running Fineract server built from this PR's branch, 
`"fromAccountType": "SAVINGS", "toAccountType": "SAVINGS", "transferType": 
"ACCOUNT_TRANSFER", "instructionType": "FIXED", "recurrenceType": "PERIODIC", 
"recurrenceFrequency": "WEEKS"` All six fields serialize as plain strings in 
the actual wire format — not as EnumOptionData `objects ({id, code, value}`). 
The only field that genuinely returns an object is status `"status": {"id": 1, 
"code": "standingInstructionStatus.active", "value": "Active"}`
   
   `GET /standinginstructions` API return data type is 
`StandingInstructionData`, in this DTO the `fromAccountType` is an 
`EnumOptionData`...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to