You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ad...@apache.org on 2023/05/19 10:08:50 UTC

[fineract] branch develop updated: FINERACT-1724: Enhance global configuration request swagger

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

adamsaghy 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 f647d10a0 FINERACT-1724: Enhance global configuration request swagger
f647d10a0 is described below

commit f647d10a01b5c8f6cf366c9224bd9492efabae19
Author: Adam Saghy <ad...@gmail.com>
AuthorDate: Fri May 19 10:26:54 2023 +0200

    FINERACT-1724: Enhance global configuration request swagger
---
 .../api/GlobalConfigurationApiResourceSwagger.java         | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/configuration/api/GlobalConfigurationApiResourceSwagger.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/configuration/api/GlobalConfigurationApiResourceSwagger.java
index d1cf3c3b5..3c4db1bba 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/configuration/api/GlobalConfigurationApiResourceSwagger.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/configuration/api/GlobalConfigurationApiResourceSwagger.java
@@ -48,6 +48,14 @@ final class GlobalConfigurationApiResourceSwagger {
         public boolean enabled;
         @Schema(example = "2")
         public Long value;
+        @Schema(example = "20 September 2011")
+        public String dateValue;
+        @Schema(example = "en")
+        public String locale;
+        @Schema(example = "dd MMMM yyyy")
+        public String dateFormat;
+        @Schema(example = "random text")
+        public String stringValue;
     }
 
     @Schema(description = "PutGlobalConfigurationsResponse")
@@ -61,6 +69,12 @@ final class GlobalConfigurationApiResourceSwagger {
 
             @Schema(example = "true")
             public boolean enabled;
+            @Schema(example = "2")
+            public Long value;
+            @Schema(example = "20 September 2011")
+            public String dateValue;
+            @Schema(example = "random text")
+            public String stringValue;
         }
 
         @Schema(example = "4")