ceph-csi/vendor/k8s.io/kubernetes/hack/gen-swagger-doc/build.gradle

19 lines
343 B
Groovy
Raw Normal View History

2018-01-09 18:57:14 +00:00
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 ./'
}