8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
18 lines
343 B
Groovy
18 lines
343 B
Groovy
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 ./'
|
|
}
|