diff --git a/openapi/go.sh b/openapi/go.sh index a0d3109..876a2ca 100755 --- a/openapi/go.sh +++ b/openapi/go.sh @@ -43,10 +43,10 @@ pushd "${OUTPUT_DIR}" > /dev/null OUTPUT_DIR=`pwd` popd > /dev/null -source "${SCRIPT_ROOT}/swagger-codegen/client-generator.sh" +source "${SCRIPT_ROOT}/openapi-generator/client-generator.sh" source "${SETTING_FILE}" -SWAGGER_CODEGEN_COMMIT="${SWAGGER_CODEGEN_COMMIT:-v2.3.0}"; \ +OPENAPI_GENERATOR_COMMIT="${OPENAPI_GENERATOR_COMMIT:-v3.3.4}" \ CLIENT_LANGUAGE=go; \ CLEANUP_DIRS=(pkg); \ kubeclient::generator::generate_client "${OUTPUT_DIR}" diff --git a/openapi/go.xml b/openapi/go.xml index 64252e8..126b43c 100644 --- a/openapi/go.xml +++ b/openapi/go.xml @@ -8,9 +8,9 @@ - io.swagger - swagger-codegen-maven-plugin - ${swagger-codegen-version} + org.openapitools + openapi-generator-maven-plugin + ${openapi-generator-version}