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

SDK Swagger Java Client generated utilities are broken and should be removed from JAR

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      While working on FINERACT-1220, I'm finding that the Swagger Code generated org.apache.fineract.client.ApiClient and org.apache.fineract.client.JSON are broken. I'm going to write code replacing them as part of (my, hand written) /fineract-client/src/main/java/org/apache/fineract/client/util/FineractClient.java (which is already on develop).

      To avoid confusion to future users, Aleksandar Vidakovic what's the best way in Gradle to simply entirely wipe out all 6 classes in fineract-client/build/generated/java/src/main/java/org/apache/fineract/client progrmatically just after they were generated - can you help me with a PR for that? (Once FINERACT-1220 is completed.)

      Maybe its easier to change that invokerPackage in build.gradle to "tmp.wipe" ?

      Then we could probably just move (my) org.apache.fineract.client.util up to org.apache.fineract.client.

      /Cc Petri Tuomola FYI

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aleks Aleksandar Vidakovic
                Reporter:
                vorburger Michael Vorburger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: