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

 ##########
 File path: 
fineract-provider/src/main/java/org/apache/fineract/accounting/financialactivityaccount/api/FinancialActivityAccountsApiResource.java
 ##########
 @@ -51,7 +51,11 @@
 @Path("/financialactivityaccounts")
 @Component
 @Scope("singleton")
-@Api(value = "Mapping Financial Activities to Accounts", description = 
"Organization Level Financial Activities like Asset and Liability Transfer can 
be mapped to GL Account. Integrated accounting takes these accounts into 
consideration when an Account transfer is made between a savings to 
loan/savings account and vice-versa\n" + "\n" +"\nField Descriptions\n" 
+"financialActivityId\n" +"The identifier of the Financial Activity\n" 
+"glAccountId\n" +"The identifier of a GL Account ( Ledger Account) which shall 
be used as the default account for the selected Financial Activity")
+@Api(tags = {"Mapping Financial Activities to Accounts"})
+@SwaggerDefinition(tags = {
+        @Tag(name = "Mapping Financial Activities to Accounts", description = 
"Organization Level Financial Activities like Asset and Liability Transfer can 
be mapped to GL Account. Integrated accounting takes these accounts into 
consideration when an Account transfer is made between a savings to 
loan/savings account and vice-versa\\n\" + \"\\n\" +\"\\nField 
Descriptions\\n\" +\"financialActivityId\\n\" +\"The identifier of the 
Financial Activity\\n\" +\"glAccountId\\n\" +\"The identifier of a GL Account ( 
Ledger Account) which shall be used as the default account for the selected 
Financial Activity")
+})
+
 
 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