FINERACT-1724: Swagger fixes here and there
This commit is contained in:
committed by
Arnold Gálovics
parent
69f535731f
commit
c8a084cb97
+4
@@ -161,6 +161,8 @@ final class ClientsApiResourceSwagger {
|
|||||||
public Integer officeId;
|
public Integer officeId;
|
||||||
@Schema(example = "Head Office")
|
@Schema(example = "Head Office")
|
||||||
public String officeName;
|
public String officeName;
|
||||||
|
@Schema(example = "test@test.com")
|
||||||
|
public String emailAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "2")
|
@Schema(example = "2")
|
||||||
@@ -248,6 +250,8 @@ final class ClientsApiResourceSwagger {
|
|||||||
public String savingsProductName;
|
public String savingsProductName;
|
||||||
@Schema(example = "[]")
|
@Schema(example = "[]")
|
||||||
public List<GetClientsGroups> groups;
|
public List<GetClientsGroups> groups;
|
||||||
|
@Schema(example = "test@test.com")
|
||||||
|
public String emailAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Schema(description = "PostClientsRequest")
|
@Schema(description = "PostClientsRequest")
|
||||||
|
|||||||
+24
-24
@@ -88,18 +88,18 @@ final class LoanChargesApiResourceSwagger {
|
|||||||
@Schema(example = "0")
|
@Schema(example = "0")
|
||||||
public Double amountPercentageAppliedTo;
|
public Double amountPercentageAppliedTo;
|
||||||
public GetLoanChargeCurrency currency;
|
public GetLoanChargeCurrency currency;
|
||||||
@Schema(example = "100")
|
@Schema(example = "100.00")
|
||||||
public Float amount;
|
public Double amount;
|
||||||
@Schema(example = "0")
|
@Schema(example = "0.00")
|
||||||
public Float amountPaid;
|
public Double amountPaid;
|
||||||
@Schema(example = "0")
|
@Schema(example = "0.00")
|
||||||
public Float amountWaived;
|
public Double amountWaived;
|
||||||
@Schema(example = "0")
|
@Schema(example = "0.00")
|
||||||
public Float amountWrittenOff;
|
public Double amountWrittenOff;
|
||||||
@Schema(example = "100")
|
@Schema(example = "100.00")
|
||||||
public Float amountOutstanding;
|
public Double amountOutstanding;
|
||||||
@Schema(example = "100")
|
@Schema(example = "100.00")
|
||||||
public Float amountOrPercentage;
|
public Double amountOrPercentage;
|
||||||
@Schema(example = "false")
|
@Schema(example = "false")
|
||||||
public Boolean penalty;
|
public Boolean penalty;
|
||||||
}
|
}
|
||||||
@@ -146,19 +146,19 @@ final class LoanChargesApiResourceSwagger {
|
|||||||
@Schema(example = "false")
|
@Schema(example = "false")
|
||||||
public Boolean penalty;
|
public Boolean penalty;
|
||||||
public GetLoansLoanIdChargesChargeIdResponse.GetLoanChargeCurrency currency;
|
public GetLoansLoanIdChargesChargeIdResponse.GetLoanChargeCurrency currency;
|
||||||
@Schema(example = "100")
|
@Schema(example = "100.00")
|
||||||
public Float amount;
|
public Double amount;
|
||||||
public GetLoanChargeTemplateChargeTimeType chargeTimeType;
|
public GetLoanChargeTemplateChargeTimeType chargeTimeType;
|
||||||
public GetLoanChargeTemplateChargeAppliesTo chargeAppliesTo;
|
public GetLoanChargeTemplateChargeAppliesTo chargeAppliesTo;
|
||||||
public GetLoansLoanIdChargesChargeIdResponse.GetLoanChargeCalculationType chargeCalculationType;
|
public GetLoansLoanIdChargesChargeIdResponse.GetLoanChargeCalculationType chargeCalculationType;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Schema(example = "0")
|
@Schema(example = "0.00")
|
||||||
public Float amountPaid;
|
public Double amountPaid;
|
||||||
@Schema(example = "0")
|
@Schema(example = "0.00")
|
||||||
public Float amountWaived;
|
public Double amountWaived;
|
||||||
@Schema(example = "0")
|
@Schema(example = "0.00")
|
||||||
public Float amountWrittenOff;
|
public Double amountWrittenOff;
|
||||||
public Set<GetLoanChargeTemplateChargeOptions> chargeOptions;
|
public Set<GetLoanChargeTemplateChargeOptions> chargeOptions;
|
||||||
@Schema(example = "false")
|
@Schema(example = "false")
|
||||||
public Boolean penalty;
|
public Boolean penalty;
|
||||||
@@ -173,8 +173,8 @@ final class LoanChargesApiResourceSwagger {
|
|||||||
public Integer chargeId;
|
public Integer chargeId;
|
||||||
@Schema(example = "en")
|
@Schema(example = "en")
|
||||||
public String locale;
|
public String locale;
|
||||||
@Schema(example = "100")
|
@Schema(example = "100.00")
|
||||||
public Float amount;
|
public Double amount;
|
||||||
@Schema(example = "dd MMMM yyyy")
|
@Schema(example = "dd MMMM yyyy")
|
||||||
public String dateFormat;
|
public String dateFormat;
|
||||||
@Schema(example = "29 April 2013")
|
@Schema(example = "29 April 2013")
|
||||||
@@ -205,8 +205,8 @@ final class LoanChargesApiResourceSwagger {
|
|||||||
public String dateFormat;
|
public String dateFormat;
|
||||||
@Schema(example = "en")
|
@Schema(example = "en")
|
||||||
public String locale;
|
public String locale;
|
||||||
@Schema(example = "60")
|
@Schema(example = "60.00")
|
||||||
public Float amount;
|
public Double amount;
|
||||||
@Schema(example = "27 March 2013")
|
@Schema(example = "27 March 2013")
|
||||||
public String dueDate;
|
public String dueDate;
|
||||||
}
|
}
|
||||||
|
|||||||
+2
@@ -208,6 +208,8 @@ final class LoanTransactionsApiResourceSwagger {
|
|||||||
public Double transactionAmount;
|
public Double transactionAmount;
|
||||||
@Schema(example = "An optional note about why your adjusting or changing the transaction.")
|
@Schema(example = "An optional note about why your adjusting or changing the transaction.")
|
||||||
public String note;
|
public String note;
|
||||||
|
@Schema(example = "95174ff9-1a75-4d72-a413-6f9b1cb988b7")
|
||||||
|
public String reversalExternalId;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Schema(description = "PostLoansLoanIdTransactionsTransactionIdResponse")
|
@Schema(description = "PostLoansLoanIdTransactionsTransactionIdResponse")
|
||||||
|
|||||||
+4
@@ -777,6 +777,10 @@ final class LoansApiResourceSwagger {
|
|||||||
public String transactionType;
|
public String transactionType;
|
||||||
@Schema(description = "List of GetLoansLoanIdLoanRepaymentScheduleInstallmentData")
|
@Schema(description = "List of GetLoansLoanIdLoanRepaymentScheduleInstallmentData")
|
||||||
public List<GetLoansLoanIdLoanRepaymentScheduleInstallmentData> loanRepaymentScheduleInstallments;
|
public List<GetLoansLoanIdLoanRepaymentScheduleInstallmentData> loanRepaymentScheduleInstallments;
|
||||||
|
@Schema(example = "95174ff9-1a75-4d72-a413-6f9b1cb988b7")
|
||||||
|
public String reversalExternalId;
|
||||||
|
@Schema(example = "[2022, 9, 19]")
|
||||||
|
public LocalDate reversedOnDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
static final class GetLoansLoanIdLoanChargeData {
|
static final class GetLoansLoanIdLoanChargeData {
|
||||||
|
|||||||
Reference in New Issue
Block a user