mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
11 lines
523 B
Bash
11 lines
523 B
Bash
#!/bin/bash
|
|
|
|
artifactsDirectory="${1}"
|
|
|
|
java -jar openapi-generator-cli.jar generate \
|
|
--input-spec ${artifactsDirectory}/openapispec/openapi.json \
|
|
--generator-name typescript-axios \
|
|
--output ./apiclient/generated/typescript/axios \
|
|
--template-dir ./apiclient/templates/typescript/axios \
|
|
--ignore-file-override ./apiclient/.openapi-generator-ignore \
|
|
--additional-properties=useSingleRequestParameter="true",withSeparateModelsAndApi="true",modelPackage="models",apiPackage="api",npmName="axios"
|