oleksii-novikov-onix commented on code in PR #4925:
URL: https://github.com/apache/fineract/pull/4925#discussion_r2256018414
##########
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/api/LoanCapitalizedIncomeApiResource.java:
##########
@@ -56,10 +56,10 @@ public class LoanDeferredIncomeApiResource {
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
@Operation(summary = "Fetch the Capitalized Income related informations")
- public LoanDeferredIncomeData
fetchDeferredIncomeDetails(@PathParam("loanId") @Parameter(description =
"loanId") final Long loanId) {
+ public LoanCapitalizedIncomeData
fetchDeferredIncomeDetails(@PathParam("loanId") @Parameter(description =
"loanId") final Long loanId) {
Review Comment:
It would also be helpful to mark these endpoints as deprecated - both at the
Java level(`@Deprecated`) and in the Swagger
documentation(`@Operation(deprecated = true)`)
--
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]