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 fab2bcac40 FINERACT-2506: Fix documentation bugs in 
GLClosuresApiResourceSwagger
fab2bcac40 is described below

commit fab2bcac402dd1b4971871410e4c645f344e608d
Author: Ambika <[email protected]>
AuthorDate: Wed Feb 25 11:06:14 2026 +0530

    FINERACT-2506: Fix documentation bugs in GLClosuresApiResourceSwagger
---
 .../closure/api/GLClosuresApiResourceSwagger.java    | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git 
a/fineract-accounting/src/main/java/org/apache/fineract/accounting/closure/api/GLClosuresApiResourceSwagger.java
 
b/fineract-accounting/src/main/java/org/apache/fineract/accounting/closure/api/GLClosuresApiResourceSwagger.java
index 8faa5050fa..5e2f366961 100644
--- 
a/fineract-accounting/src/main/java/org/apache/fineract/accounting/closure/api/GLClosuresApiResourceSwagger.java
+++ 
b/fineract-accounting/src/main/java/org/apache/fineract/accounting/closure/api/GLClosuresApiResourceSwagger.java
@@ -21,22 +21,20 @@ package org.apache.fineract.accounting.closure.api;
 import io.swagger.v3.oas.annotations.media.Schema;
 import java.time.LocalDate;
 
+/**
+ * Swagger response and request schemas for GL Closures.
+ */
 final class GLClosuresApiResourceSwagger {
 
     private GLClosuresApiResourceSwagger() {
         // don't allow to instantiate; use only for live API documentation
     }
 
-    /**
-     * TODO: describe where this belongs: {@link GLClosuresApiResource } 
{@link GLClosuresApiResource}
-     */
-    // Check !!
-
     @Schema(description = "GetGLClosureResponse")
     public static final class GetGlClosureResponse {
 
         private GetGlClosureResponse() {
-            // dont allow to initiatiate
+            // dont allow to instantiation
         }
 
         @Schema(example = "7")
@@ -45,13 +43,13 @@ final class GLClosuresApiResourceSwagger {
         public Long officeId;
         @Schema(example = "Head Office")
         public String officeName;
-        @Schema(example = "2013,1,2")
+        @Schema(example = "2013-01-02")
         public LocalDate closingDate;
         @Schema(example = "false")
         public boolean deleted;
-        @Schema(example = "2013,1,3")
+        @Schema(example = "2013-1-3")
         public LocalDate createdDate;
-        @Schema(example = "2013,1,3")
+        @Schema(example = "2013-1-3")
         public LocalDate lastUpdatedDate;
         @Schema(example = "1")
         public Long createdByUserId;
@@ -66,7 +64,7 @@ final class GLClosuresApiResourceSwagger {
 
     }
 
-    @Schema(description = "PostGLCLosuresRequest")
+    @Schema(description = "PostGLClosuresRequest")
     public static final class PostGlClosuresRequest {
 
         private PostGlClosuresRequest() {
@@ -77,7 +75,7 @@ final class GLClosuresApiResourceSwagger {
         public Long officeId;
         @Schema(example = "06 December 2012")
         public LocalDate closingDate;
-        @Schema(example = "The accountants are heading for a carribean 
vacation")
+        @Schema(example = "The accountants are heading for a Caribbean 
vacation")
         public String comments;
         @Schema(example = "en")
         public String locale;

Reply via email to