This is an automated email from the ASF dual-hosted git repository.
arnold 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 2bb92ae53 Business date response swagger fix
2bb92ae53 is described below
commit 2bb92ae53912a9cb83e8468af6e5d9862c25ae5c
Author: Adam Saghy <[email protected]>
AuthorDate: Fri Jul 8 13:52:57 2022 +0200
Business date response swagger fix
---
.../businessdate/api/BusinessDateApiResourceSwagger.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git
a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/businessdate/api/BusinessDateApiResourceSwagger.java
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/businessdate/api/BusinessDateApiResourceSwagger.java
index 07b5eb26d..08814c58b 100644
---
a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/businessdate/api/BusinessDateApiResourceSwagger.java
+++
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/businessdate/api/BusinessDateApiResourceSwagger.java
@@ -19,6 +19,7 @@
package org.apache.fineract.infrastructure.businessdate.api;
import io.swagger.v3.oas.annotations.media.Schema;
+import java.time.LocalDate;
final class BusinessDateApiResourceSwagger {
@@ -29,14 +30,12 @@ final class BusinessDateApiResourceSwagger {
@Schema(description = "BusinessDateResponse")
public static final class BusinessDateResponse {
- @Schema(example = "yyyy-MM-dd")
- public String dateFormat;
@Schema(example = "COB date")
public String description;
@Schema(example = "COB_DATE")
public String type;
- @Schema(example = "2015-02-15")
- public String date;
+ @Schema(example = "[2015,02,15]")
+ public LocalDate date;
private BusinessDateResponse() {