gradle-swagger-generator-plugin
gradle-swagger-generator-plugin copied to clipboard
Not generating OAS 3 annotations
This code not generating OAS 3 annotation. It still use old annotations, I'm not able forced using OAS 3 annotations on generated code :(
plugins {
id 'org.hidetake.swagger.generator' version "2.18.2"
}
swaggerSources {
platformapi {
inputFile = file('../swagger/platform/pgw-platform-api.yml')
code {
language = 'spring'
outputDir = file("$buildDir/generated-sources/")
wipeOutputDir = false
additionalProperties = [
'interfaceOnly': true,
'dateLibrary' : 'java11',
'useTags' : true
]
components = ['models', 'apis']
configFile = file('../swagger/platform/swagger-config.json')
}
}
}
dependencies {
swaggerCodegen 'io.swagger.codegen.v3:swagger-codegen-cli:3.0.20'
}
compileJava {
dependsOn swaggerSources.platformapi.code
}
Hello guys, any update on this ? :) I'm having same issue
Or @schrek1 did you manage to solve this ?
And update on this?