[ 
https://issues.apache.org/jira/browse/FINERACT-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18090606#comment-18090606
 ] 

Dhroov Sankla edited comment on FINERACT-2651 at 6/22/26 1:47 PM:
------------------------------------------------------------------

{*}PR Link{*}: [https://github.com/apache/fineract/pull/6017]
[~ashhar] Looking forward for your review!


was (Author: JIRAUSER313602):
{*}PR Link{*}: https://github.com/apache/fineract/pull/6017

> Refactor MixReportApiResource to enforce type-safe JAX-RS Response patterns
> ---------------------------------------------------------------------------
>
>                 Key: FINERACT-2651
>                 URL: https://issues.apache.org/jira/browse/FINERACT-2651
>             Project: Apache Fineract
>          Issue Type: Improvement
>          Components: Reports
>            Reporter: Dhroov Sankla
>            Priority: Minor
>
> While exploring the Mix module, I noticed a couple of structural *TODO* 
> comments regarding type safety and marshalling engines. 
> Currently, `{*}MixReportApiResource.java{*}` returns a raw `String` for the 
> XBRL report endpoint, which bypasses native JAX-RS framework response 
> handling and content negotiation. 
> Proposed Changes:
> 1. Refactor `retrieveXBRLReport` inside `MixReportApiResource` to return an 
> explicitly typed `jakarta.ws.rs.core.Response` wrapper entity.
> 2. Remove the outdated placeholder TODO comments in `MixReportApiResource` 
> and `MixReportXBRLBuilder` to clean up the codebase.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to