Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1263

/runreports Swagger missing optional R_* parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Auto Closed
    • None
    • None
    • SDK

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: