Sanyam96 commented on a change in pull request #629: Swagger documentation 
gsoc2019
URL: https://github.com/apache/fineract/pull/629#discussion_r317499327
 
 

 ##########
 File path: 
fineract-provider/src/main/java/org/apache/fineract/accounting/closure/api/GLClosuresApiResource.java
 ##########
 @@ -55,7 +55,11 @@
 @Path("/glclosures")
 @Component
 @Scope("singleton")
-@Api(value = "Accounting Closure", description = "An accounting closure 
indicates that no more journal entries may be logged (or reversed) in the 
system, either manually or via the portfolio with an entry date prior to the 
defined closure date\n" + "\n" + "Field Descriptions\n" + "closingDate\n" + 
"The date for which the accounting closure is defined\n" + "officeId\n" + "The 
identifer of the branch for which accounting has been closed\n" + "comments\n" 
+ "Description associated with an Accounting closure")
+@Api(tags = {"Accounting Closure"})
+@SwaggerDefinition(tags = {
+        @Tag(name = "Accounting Closure", description = "An accounting closure 
indicates that no more journal entries may be logged (or reversed) in the 
system, either manually or via the portfolio with an entry date prior to the 
defined closure date\\n\" + \"\\n\" + \"Field Descriptions\\n\" + 
\"closingDate\\n\" + \"The date for which the accounting closure is 
defined\\n\" + \"officeId\\n\" + \"The identifer of the branch for which 
accounting has been closed\\n\" + \"comments\\n\" + \"Description associated 
with an Accounting closure")
+})
+
 
 Review comment:
   I don't think, we need to add an extra blank line here

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to