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

   Sorry for causing so much trouble for you. In the swagger file you can 
change it and then the fineract-client will generate the proper response object.
   In the TellerApiResource line 305:
   `@ApiResponse(responseCode = "200", description = "OK", content = 
@Content(array = @ArraySchema(schema = @Schema(implementation = 
TellerApiResourceSwagger.GetTellersTellerIdCashiersCashiersIdTransactionsResponse.class))))
 })`
   
   You can give a try to remove these annotations, so there will be no defined 
response object from the TellerApiResourceSwagger class and hopefully it will 
generate automatically the proper Response object the fineract-client. 
Alternatively you can change the annotations to point not as an ArraySchema, 
rather an (regular) schema (just remove the array parts) and change the 
`TellerApiResourceSwagger.GetTellersTellerIdCashiersCashiersIdTransactionsResponse`
 structure.
   
   But i would say it is just easier to remove those annotations and let 
Fineract automatically generate the proper Response object ;)
   


-- 
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