aboutsummaryrefslogtreecommitdiff
path: root/apiclient/templates/typescript/stable.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apiclient/templates/typescript/stable.sh')
-rw-r--r--apiclient/templates/typescript/stable.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/apiclient/templates/typescript/stable.sh b/apiclient/templates/typescript/stable.sh
new file mode 100644
index 000000000..46af6433f
--- /dev/null
+++ b/apiclient/templates/typescript/stable.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+CLIENT=$1
+openapi-generator generate \
+ --input-spec $(System.ArtifactsDirectory)/openapi/openapi.json \
+ --generator-name typescript-${CLIENT} \
+ --output ./apiclient/generated/typescript/${CLIENT} \
+ --template-dir ./apiclient/templates/typescript \
+ --ignore-file-override ./apiclient/.openapi-generator-ignore \
+ --additional-properties=useSingleRequestParameter="true",npmName="${CLIENT}"