blob: 3571c8ad5cd773f3634f2f0bda0e9866608bf78a (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
CLIENT=$1
java -jar openapi-generator-cli.jar 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}",snapshotVersion="-SNAPSHOT.$(Build.BuildNumber)",npmRepository="https://dev.azure.com/jellyfin-project/jellyfin/_packaging"
|