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 75b6f61e5 FINERACT-1724: Correct descriptions and summary on DELETE 
and PUT (#2458)
75b6f61e5 is described below

commit 75b6f61e5de539b3065d68f797d3f479814e226d
Author: Wilfred Kigenyi <[email protected]>
AuthorDate: Mon Oct 10 17:07:19 2022 +0300

    FINERACT-1724: Correct descriptions and summary on DELETE and PUT (#2458)
    
    FINERACT-1724: Correct descriptions and summary on DELETE and PUT
---
 .../fineract/accounting/glaccount/api/GLAccountsApiResource.java   | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git 
a/fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/api/GLAccountsApiResource.java
 
b/fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/api/GLAccountsApiResource.java
index fcb8696e1..f77fc40aa 100644
--- 
a/fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/api/GLAccountsApiResource.java
+++ 
b/fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/api/GLAccountsApiResource.java
@@ -195,9 +195,7 @@ public class GLAccountsApiResource {
     @Path("{glAccountId}")
     @Consumes({ MediaType.APPLICATION_JSON })
     @Produces({ MediaType.APPLICATION_JSON })
-    @Operation(tags = {
-            "General Ledger Account" }, summary = "Update an Accounting 
closure", description = "Once an accounting closure is created, only the 
comments associated with it may be edited\n"
-                    + "\n")
+    @Operation(tags = { "General Ledger Account" }, summary = "Update a GL 
Account", description = "Updates a GL Account")
     @RequestBody(content = @Content(schema = @Schema(implementation = 
GLAccountsApiResourceSwagger.PutGLAccountsRequest.class)))
     @ApiResponses({
             @ApiResponse(responseCode = "200", description = "OK", content = 
@Content(schema = @Schema(implementation = 
GLAccountsApiResourceSwagger.PutGLAccountsResponse.class))) })
@@ -215,8 +213,7 @@ public class GLAccountsApiResource {
     @Path("{glAccountId}")
     @Consumes({ MediaType.APPLICATION_JSON })
     @Produces({ MediaType.APPLICATION_JSON })
-    @Operation(tags = {
-            "General Ledger Account" }, summary = "Delete an accounting 
closure", description = "Note: Only the latest accounting closure associated 
with a branch may be deleted.")
+    @Operation(tags = { "General Ledger Account" }, summary = "Delete a GL 
Account", description = "Deletes a GL Account")
     @ApiResponses({
             @ApiResponse(responseCode = "200", description = "OK", content = 
@Content(schema = @Schema(implementation = 
GLAccountsApiResourceSwagger.DeleteGLAccountsRequest.class))) })
     public String deleteGLAccount(@PathParam("glAccountId") 
@Parameter(description = "glAccountId") final Long glAccountId) {

Reply via email to