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

 ##########
 File path: 
fineract-provider/src/main/java/org/apache/fineract/organisation/workingdays/api/WorkingDaysApiResource.java
 ##########
 @@ -45,7 +45,11 @@
 @Path("/workingdays")
 @Component
 @Scope("singleton")
-@Api(value = "Working days", description = "The days of the week that are 
workdays.\n" + "\n" + "Rescheduling of repayments when it falls on a 
non-working is turned on /off by enable/disable reschedule-future-repayments 
parameter in Global configurations.\n" + "\n" + "Allow transactions on 
non-working days is configurable by enabling/disbaling the 
allow-transactions-on-non_workingday parameter in Global configurations.")
+@Api(tags = {"Working days"})
+@SwaggerDefinition(tags = {
+        @Tag(name = "Working days", description = "The days of the week that 
are workdays.\\n\" + \"\\n\" + \"Rescheduling of repayments when it falls on a 
non-working is turned on /off by enable/disable reschedule-future-repayments 
parameter in Global configurations.\\n\" + \"\\n\" + \"Allow transactions on 
non-working days is configurable by enabling/disbaling the 
allow-transactions-on-non_workingday parameter in Global configurations.")
 
 Review comment:
   I am able to ```\n``` in swagger-ui,
   try to remove all the unnecessary letters in the description
   
   You can cross - verify for all the API's from swagger-UI

----------------------------------------------------------------
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