Dhroov Sankla created FINERACT-2651:
---------------------------------------
Summary: 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
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)