groups list and accountNo field data type fixed in swagger resource (FINERACT-1364)
This commit is contained in:
committed by
Petri Tuomola
parent
867be429fb
commit
0e935ba16a
+18
-4
@@ -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")
|
@Schema(example = "27")
|
||||||
public Integer id;
|
public Integer id;
|
||||||
@Schema(example = "000000027")
|
@Schema(example = "000000027")
|
||||||
public Long accountNo;
|
public String accountNo;
|
||||||
public GetClientsClientIdStatus status;
|
public GetClientsClientIdStatus status;
|
||||||
@Schema(example = "true")
|
@Schema(example = "true")
|
||||||
public Boolean active;
|
public Boolean active;
|
||||||
@@ -232,7 +246,7 @@ final class ClientsApiResourceSwagger {
|
|||||||
@Schema(example = "account overdraft")
|
@Schema(example = "account overdraft")
|
||||||
public String savingsProductName;
|
public String savingsProductName;
|
||||||
@Schema(example = "[]")
|
@Schema(example = "[]")
|
||||||
public List<String> groups;
|
public List<GetClientsGroups> groups;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Schema(description = "PostClientsRequest")
|
@Schema(description = "PostClientsRequest")
|
||||||
@@ -385,7 +399,7 @@ final class ClientsApiResourceSwagger {
|
|||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
public Integer id;
|
public Integer id;
|
||||||
@Schema(example = "000000001")
|
@Schema(example = "000000001")
|
||||||
public Long accountNo;
|
public String accountNo;
|
||||||
@Schema(example = "456")
|
@Schema(example = "456")
|
||||||
public Integer externalId;
|
public Integer externalId;
|
||||||
@Schema(example = "1")
|
@Schema(example = "1")
|
||||||
@@ -447,7 +461,7 @@ final class ClientsApiResourceSwagger {
|
|||||||
@Schema(example = "7")
|
@Schema(example = "7")
|
||||||
public Integer id;
|
public Integer id;
|
||||||
@Schema(example = "000000007")
|
@Schema(example = "000000007")
|
||||||
public Long accountNo;
|
public String accountNo;
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
public Integer productId;
|
public Integer productId;
|
||||||
@Schema(example = "Other product")
|
@Schema(example = "Other product")
|
||||||
|
|||||||
Reference in New Issue
Block a user