[
https://issues.apache.org/jira/browse/FINERACT-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Van Hove updated FINERACT-2353:
-------------------------------------
Description:
The built OpenAPI definition
fineract-provider/build/classes/java/main/static/fineract.yaml defines an
endpoint
/v1/runreports/\{reportname}
This GET request is well explained based on a series of examples. The examples
name query parameters like R_endDate and R_loanOfficerId. However the actual
parameters listed are only "reportName" (path) and "isSelfServiceUserReport"
(query). The actually necessary query parameters can't be deducted from the
OpenAPI spec.
The problem seems to come from
`queryParams.putAll(uriInfo.getQueryParameters());` in the method `runReport`
of RunreportsApiResource.java.
was:
The built OpenAPI definition
fineract-provider/build/classes/java/main/static/fineract.yaml defines an
endpoint
/v1/runreports/\{reportname}
This GET request is well explained based on a series of examples. The examples
name query parameters like R_endDate and R_loanOfficerId. However the actual
parameters listed are only "reportName" (path) and "isSelfServiceUserReport"
(query). The actually necessary query parameters can't be deducted from the
OpenAPI spec.
> OpenAPI definition does not expose required GET paramaters
> ----------------------------------------------------------
>
> Key: FINERACT-2353
> URL: https://issues.apache.org/jira/browse/FINERACT-2353
> Project: Apache Fineract
> Issue Type: Bug
> Affects Versions: 1.12.1
> Reporter: Felix Van Hove
> Priority: Minor
>
> The built OpenAPI definition
> fineract-provider/build/classes/java/main/static/fineract.yaml defines an
> endpoint
> /v1/runreports/\{reportname}
> This GET request is well explained based on a series of examples. The
> examples name query parameters like R_endDate and R_loanOfficerId. However
> the actual parameters listed are only "reportName" (path) and
> "isSelfServiceUserReport" (query). The actually necessary query parameters
> can't be deducted from the OpenAPI spec.
>
> The problem seems to come from
> `queryParams.putAll(uriInfo.getQueryParameters());` in the method `runReport`
> of RunreportsApiResource.java.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)