This is an automated email from the ASF dual-hosted git repository.

ptuomola pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 0e935ba  groups list and accountNo field data type fixed in swagger 
resource (FINERACT-1364)
0e935ba is described below

commit 0e935ba16a1690ca80393acd9baf2d3c7cfb21b8
Author: Danish Jamal <[email protected]>
AuthorDate: Fri Aug 6 21:10:53 2021 +0530

    groups list and accountNo field data type fixed in swagger resource 
(FINERACT-1364)
---
 .../client/api/ClientsApiResourceSwagger.java      | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git 
a/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/api/ClientsApiResourceSwagger.java
 
b/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/api/ClientsApiResourceSwagger.java
index e45b2f0..8e7ed3a 100644
--- 
a/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/api/ClientsApiResourceSwagger.java
+++ 
b/fineract-provider/src/main/java/org/apache/fineract/portfolio/client/api/ClientsApiResourceSwagger.java
@@ -207,10 +207,24 @@ final class ClientsApiResourceSwagger {
 
         }
 
+        static final class GetClientsGroups {
+
+            private GetClientsGroups() {}
+
+            @Schema(example = "000000001")
+            public Long id;
+            @Schema(example = "000000002")
+            public String accountNo;
+            @Schema(example = "Group name")
+            public String name;
+            @Schema(example = "000000003")
+            public Long externalId;
+        }
+
         @Schema(example = "27")
         public Integer id;
         @Schema(example = "000000027")
-        public Long accountNo;
+        public String accountNo;
         public GetClientsClientIdStatus status;
         @Schema(example = "true")
         public Boolean active;
@@ -232,7 +246,7 @@ final class ClientsApiResourceSwagger {
         @Schema(example = "account overdraft")
         public String savingsProductName;
         @Schema(example = "[]")
-        public List<String> groups;
+        public List<GetClientsGroups> groups;
     }
 
     @Schema(description = "PostClientsRequest")
@@ -385,7 +399,7 @@ final class ClientsApiResourceSwagger {
             @Schema(example = "1")
             public Integer id;
             @Schema(example = "000000001")
-            public Long accountNo;
+            public String accountNo;
             @Schema(example = "456")
             public Integer externalId;
             @Schema(example = "1")
@@ -447,7 +461,7 @@ final class ClientsApiResourceSwagger {
             @Schema(example = "7")
             public Integer id;
             @Schema(example = "000000007")
-            public Long accountNo;
+            public String accountNo;
             @Schema(example = "2")
             public Integer productId;
             @Schema(example = "Other product")

Reply via email to