aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.ci/azure-pipelines.yml3
-rw-r--r--apiclient/templates/typescript/stable.sh2
-rw-r--r--apiclient/templates/typescript/unstable.sh2
3 files changed, 5 insertions, 2 deletions
diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml
index b417aae67..f3e515447 100644
--- a/.ci/azure-pipelines.yml
+++ b/.ci/azure-pipelines.yml
@@ -55,3 +55,6 @@ jobs:
- ${{ if or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
- template: azure-pipelines-package.yml
+
+- ${{ if or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), startsWith(variables['Build.SourceBranch'], 'refs/heads/master')) }}:
+ - template: azure-pipelines-api-client.yml
diff --git a/apiclient/templates/typescript/stable.sh b/apiclient/templates/typescript/stable.sh
index 46af6433f..f23a85cc9 100644
--- a/apiclient/templates/typescript/stable.sh
+++ b/apiclient/templates/typescript/stable.sh
@@ -1,7 +1,7 @@
#!/bin/bash
CLIENT=$1
-openapi-generator generate \
+java -jar openapi-generator-cli.jar generate \
--input-spec $(System.ArtifactsDirectory)/openapi/openapi.json \
--generator-name typescript-${CLIENT} \
--output ./apiclient/generated/typescript/${CLIENT} \
diff --git a/apiclient/templates/typescript/unstable.sh b/apiclient/templates/typescript/unstable.sh
index 255e20c4f..3571c8ad5 100644
--- a/apiclient/templates/typescript/unstable.sh
+++ b/apiclient/templates/typescript/unstable.sh
@@ -1,7 +1,7 @@
#!/bin/bash
CLIENT=$1
-openapi-generator generate \
+java -jar openapi-generator-cli.jar generate \
--input-spec $(System.ArtifactsDirectory)/openapi/openapi.json \
--generator-name typescript-${CLIENT} \
--output ./apiclient/generated/typescript/${CLIENT} \