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

Adam Saghy resolved FINERACT-2353.
----------------------------------
    Fix Version/s: 1.13.0
       Resolution: Fixed

> OpenAPI definition does not expose required GET parameters
> ----------------------------------------------------------
>
>                 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
>            Assignee: Victor Romero
>            Priority: Minor
>             Fix For: 1.13.0
>
>
> 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{_}. Only a single of all possible parameters 
> is declared.



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

Reply via email to