diff --git a/generate.sh b/generate.sh index b436357..dbf694b 100755 --- a/generate.sh +++ b/generate.sh @@ -10,7 +10,7 @@ file="$1" rm -rf ./src/generated -docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:latest generate \ +docker run --rm -v "${PWD}:/local" -u $(id -u) openapitools/openapi-generator-cli:latest generate \ -i "/local/$file" \ -g typescript-fetch \ -o /local/src/generated \