You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Dhroov Sankla (Jira)" <ji...@apache.org> on 2026/07/01 11:19:00 UTC

[jira] [Closed] (FINERACT-2651) Refactor MixReportApiResource to enforce type-safe JAX-RS Response patterns

     [ https://issues.apache.org/jira/browse/FINERACT-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dhroov Sankla closed FINERACT-2651.
-----------------------------------
    Resolution: Not A Problem

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