FINERACT-1101 Swagger Codegen build using Gradle

This commit is contained in:
Chinmay Kulkarni
2020-08-25 23:52:57 +02:00
committed by Michael Vorburger ⛑️
parent e0f81f00fe
commit a86c5cfde1
6 changed files with 390 additions and 6 deletions
+2 -1
View File
@@ -872,7 +872,7 @@ generateGitProperties.outputs.upToDateWhen { false }
// This is for swagger code generation
// https://github.com/int128/gradle-swagger-generator-plugin
dependencies {
swaggerCodegen 'io.swagger.codegen.v3:swagger-codegen-cli:3.0.18'
swaggerCodegen 'io.swagger.codegen.v3:swagger-codegen-cli:3.0.21'
}
task prepareConfigJson(dependsOn: 'generateGitProperties') {
@@ -892,6 +892,7 @@ swaggerSources {
code {
language = 'java'
configFile = file('config/swagger/config.json')
templateDir = file('config/swagger/templates')
}
}
}