From 64d0b1fe58a2246c2a581ac6885bb358f8eae02d Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Wed, 21 Oct 2020 17:12:47 +0200 Subject: [PATCH] client: Improve quick build doc --- docs/developers/swagger/client.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/developers/swagger/client.md b/docs/developers/swagger/client.md index cc3c62ed0..c5ebd0c1a 100644 --- a/docs/developers/swagger/client.md +++ b/docs/developers/swagger/client.md @@ -19,13 +19,11 @@ System.out.println(ok(fineract.clients.retrieveAll(...).getTotalFilteredRecords( ## Generate API Client -The API client is built as part of the overall Fineract Gradle build. If you want to save (maybe) some time you can try to execute just the following line in root directory of the project: +The API client is built as part of the standard overall Fineract Gradle build. The client JAR can be found in `fineract-client/build/libs` as `fineract-client.jar`. -- Run `./gradlew :fineract-client:build` + If you need to save time to incrementally work on making small changes to Swagger annotations in an IDE, you can execute e.g. the following line in root directory of the project to exclude non-require Gradle tasks: -The client JAR can be found in `fineract-client/build/libs`. - -Note: Build only `fineract-client` may or may not actually save you some build time. There are still project module dependencies that might trigger a complete build. + ./gradlew -x compileJava -x compileTest -x spotlessJava -x enhance resolve prepareInputYaml :fineract-client:buildJavaSdk ## Validate OpenAPI Spec File