diff --git a/openapi/haskell-http-client.xml b/openapi/haskell-http-client.xml index 21f3d84..a84da1a 100644 --- a/openapi/haskell-http-client.xml +++ b/openapi/haskell-http-client.xml @@ -8,9 +8,9 @@ - io.swagger - swagger-codegen-maven-plugin - ${swagger-codegen-version} + org.openapitools + openapi-generator-maven-plugin + ${openapi-generator-version} @@ -18,8 +18,9 @@ ${generator.spec.path} - haskell-http-client + haskell-http-client ${generator.output.path} + false ${generator.package.name} ${generator.client.version} diff --git a/openapi/haskell.sh b/openapi/haskell.sh index dfe6a88..4b3327e 100755 --- a/openapi/haskell.sh +++ b/openapi/haskell.sh @@ -43,11 +43,11 @@ 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}" # Latest version of HaskellHttpClientCodegen.java as of Nov 19, 2018 -SWAGGER_CODEGEN_COMMIT="${SWAGGER_CODEGEN_COMMIT:-d0e2d7684dd3258233c3e4d838dcd7bf44055869}"; \ +OPENAPI_GENERATOR_COMMIT="${OPENAPI_GENERATOR_COMMIT:-c30a21ac3cd8b1d8a3db600e4079977af0681e11}"; \ CLIENT_LANGUAGE=haskell-http-client; \ CLEANUP_DIRS=(lib tests); \ kubeclient::generator::generate_client "${OUTPUT_DIR}"