|
|
@ -3,13 +3,13 @@ plugins {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
task validate(type: org.openapitools.generator.gradle.plugin.tasks.ValidateTask){
|
|
|
|
task validate(type: org.openapitools.generator.gradle.plugin.tasks.ValidateTask){
|
|
|
|
inputSpec = "./garage/doc/api/garage-admin-v0.yml"
|
|
|
|
inputSpec = "./garage/doc/api/garage-admin-v1.yml"
|
|
|
|
recommend = true
|
|
|
|
recommend = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
task buildPythonClient(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask) {
|
|
|
|
task buildPythonClient(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask) {
|
|
|
|
generatorName = "python"
|
|
|
|
generatorName = "python"
|
|
|
|
inputSpec = "./garage/doc/api/garage-admin-v0.yml"
|
|
|
|
inputSpec = "./garage/doc/api/garage-admin-v1.yml"
|
|
|
|
outputDir = "$rootDir/garage-admin-sdk-python"
|
|
|
|
outputDir = "$rootDir/garage-admin-sdk-python"
|
|
|
|
gitHost = "git.deuxfleurs.fr"
|
|
|
|
gitHost = "git.deuxfleurs.fr"
|
|
|
|
gitUserId = "garage-sdk"
|
|
|
|
gitUserId = "garage-sdk"
|
|
|
@ -23,7 +23,7 @@ task buildPythonClient(type: org.openapitools.generator.gradle.plugin.tasks.Gene
|
|
|
|
|
|
|
|
|
|
|
|
task buildGoClient(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask) {
|
|
|
|
task buildGoClient(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask) {
|
|
|
|
generatorName = "go"
|
|
|
|
generatorName = "go"
|
|
|
|
inputSpec = "./garage/doc/api/garage-admin-v0.yml"
|
|
|
|
inputSpec = "./garage/doc/api/garage-admin-v1.yml"
|
|
|
|
outputDir = "$rootDir/garage-admin-sdk-golang"
|
|
|
|
outputDir = "$rootDir/garage-admin-sdk-golang"
|
|
|
|
gitHost = "git.deuxfleurs.fr"
|
|
|
|
gitHost = "git.deuxfleurs.fr"
|
|
|
|
gitUserId = "garage-sdk"
|
|
|
|
gitUserId = "garage-sdk"
|
|
|
@ -36,7 +36,7 @@ task buildGoClient(type: org.openapitools.generator.gradle.plugin.tasks.Generate
|
|
|
|
|
|
|
|
|
|
|
|
task buildJavascriptClient(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask) {
|
|
|
|
task buildJavascriptClient(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask) {
|
|
|
|
generatorName = "javascript"
|
|
|
|
generatorName = "javascript"
|
|
|
|
inputSpec = "./garage/doc/api/garage-admin-v0.yml"
|
|
|
|
inputSpec = "./garage/doc/api/garage-admin-v1.yml"
|
|
|
|
outputDir = "$rootDir/garage-admin-sdk-js"
|
|
|
|
outputDir = "$rootDir/garage-admin-sdk-js"
|
|
|
|
gitHost = "git.deuxfleurs.fr"
|
|
|
|
gitHost = "git.deuxfleurs.fr"
|
|
|
|
gitUserId = "garage-sdk"
|
|
|
|
gitUserId = "garage-sdk"
|
|
|
|