mirror of
https://github.com/immich-app/immich.git
synced 2025-07-17 20:38:25 +02:00
chore(open-api): remove no-op patch (#6649)
* chore: remove no-op patch * address code review
This commit is contained in:
parent
ae4229b172
commit
84f8a4ac3b
4 changed files with 1 additions and 800 deletions
open-api/bin
|
@ -19,11 +19,7 @@ function dart {
|
|||
|
||||
function typescript {
|
||||
rm -rf ./typescript-sdk/client
|
||||
cd ./templates/typescript
|
||||
wget -O apiInner.mustache https://raw.githubusercontent.com/OpenAPITools/openapi-generator/$OPENAPI_GENERATOR_VERSION/modules/openapi-generator/src/main/resources/typescript-axios/apiInner.mustache
|
||||
patch -u apiInner.mustache < apiInner.mustache.patch
|
||||
cd ../..
|
||||
npx --yes @openapitools/openapi-generator-cli generate -g typescript-axios -i ./immich-openapi-specs.json -o ./typescript-sdk/client -t ./templates/typescript --additional-properties=useSingleRequestParameter=true
|
||||
npx --yes @openapitools/openapi-generator-cli generate -g typescript-axios -i ./immich-openapi-specs.json -o ./typescript-sdk/client --additional-properties=useSingleRequestParameter=true
|
||||
npm --prefix typescript-sdk ci && npm --prefix typescript-sdk run build
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue