Michael Vorburger created FINERACT-1263:
-------------------------------------------
Summary: /runreports Swagger missing optional R_* parameters
Key: FINERACT-1263
URL: https://issues.apache.org/jira/browse/FINERACT-1263
Project: Apache Fineract
Issue Type: Bug
Reporter: Michael Vorburger
While working on and writing a Swagger client based integration test for
FINERACT-1173, I've noticed that
org.apache.fineract.client.services.RunReportsApi is generated wrong, because
the Swagger metadata is missing a number of the parameters documented on
[https://demo.fineract.dev/fineract-provider/api-docs/apiLive.htm#runreports.]
The real solution would be to add the right Swagger annotations to
org.apache.fineract.infrastructure.dataqueries.api.RunreportsApiResource.runReport(String,
UriInfo, boolean), but I don't know how to do that for a Map<String,String> of
arbitrary R_* parameters.
I'll therefore "hack" the generated RunReportsApi class by "forking" it and
suppressing it's regeneration, similar to what I've done e.g. for FINERACT-1227.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)