cri-o/vendor/k8s.io/kubernetes/hack/gen-swagger-doc/build.gradle

19 lines
343 B
Groovy
Raw Normal View History

buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath 'io.github.robwin:swagger2markup:0.6.0'
}
}
task gendocs << {
io.github.robwin.swagger2markup.Swagger2MarkupConverter
.from("./input.json")
.build()
.intoFolder("./");
println '*** generating docs to ./'
}