datatable field added in client swagger resource (FINERACT-1363)
This commit is contained in:
committed by
Petri Tuomola
parent
cbe728641a
commit
a23844b621
+15
@@ -20,6 +20,7 @@ package org.apache.fineract.portfolio.client.api;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.time.LocalDate;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
@@ -254,6 +255,17 @@ final class ClientsApiResourceSwagger {
|
||||
|
||||
private PostClientsRequest() {}
|
||||
|
||||
static final class PostClientsDatatable {
|
||||
|
||||
private PostClientsDatatable() {}
|
||||
|
||||
@Schema(example = "Client Beneficiary information")
|
||||
public String registeredTableName;
|
||||
@Schema(example = "data")
|
||||
public HashMap<String, Object> data;
|
||||
|
||||
}
|
||||
|
||||
@Schema(example = "1")
|
||||
public Integer officeId;
|
||||
@Schema(example = "Client of group")
|
||||
@@ -268,6 +280,9 @@ final class ClientsApiResourceSwagger {
|
||||
public Boolean active;
|
||||
@Schema(example = "04 March 2009")
|
||||
public String activationDate;
|
||||
@Schema(description = "List of PostClientsDatatable")
|
||||
public List<PostClientsDatatable> datatables;
|
||||
|
||||
}
|
||||
|
||||
@Schema(description = "PostClientsResponse")
|
||||
|
||||
Reference in New Issue
Block a user