Mustache template added to modify the generated code (FINERACT-1356)

This commit is contained in:
danishjamal104
2021-11-06 14:21:30 +08:00
committed by Petri Tuomola
parent 48b54c8010
commit b89763ce05
3 changed files with 703 additions and 0 deletions
+6
View File
@@ -42,6 +42,7 @@ task buildJavaSdk(type: org.openapitools.generator.gradle.plugin.tasks.GenerateT
skipValidateSpec = true
inputSpec = "$swaggerFile"
outputDir = "$buildDir/generated/java".toString()
templateDir = "$rootDir/fineract-client/src/main/resources/java/template/"
groupId = 'org.apache.fineract'
apiPackage = 'org.apache.fineract.client.services'
invokerPackage = 'org.apache.fineract.client'
@@ -60,6 +61,11 @@ task buildJavaSdk(type: org.openapitools.generator.gradle.plugin.tasks.GenerateT
':fineract-provider:compileJava'
]
finalizedBy = [licenseFormat]
// uncomment below block to automatically copy the custom files in generated SDK
/*copy {
from file('src/main/java')
into file("$buildDir/generated/java/src/main/java")
}*/
}
task buildTypescriptAngularSdk(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask){