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

 ##########
 File path: fineract-provider/build.gradle
 ##########
 @@ -529,9 +533,26 @@ bootWar {
     mainClassName = 'org.apache.fineract.ServerWithMariaDB4jApplication'
 }
 
+//This is for code and swagger UI generation
+dependencies {
+    swaggerCodegen 'io.swagger:swagger-codegen-cli:2.4.2'             // 
Swagger Codegen V2
+    swaggerCodegen 'io.swagger.codegen.v3:swagger-codegen-cli:3.0.5'  // or 
Swagger Codegen V3
+    swaggerCodegen 'org.openapitools:openapi-generator-cli:3.3.4'     // or 
OpenAPI Generator
+    swaggerUI 'org.webjars:swagger-ui:3.10.0'
+}
+
+swaggerSources {
+    fineract {
+        inputFile = file('src/main/resources/swagger-ui/response.json')
+        code {
+            language = 'java'
+        }
+    }
+}
+
 
 Review comment:
   @kangbreder  Can you please clarify about these changes?
   I am not sure how this code will help us?.

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