FINERACT-1101 Swagger Codegen build using Gradle
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
e0f81f00fe
commit
a86c5cfde1
@@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user