Skip to content

Commit 29fa692

Browse files
HavenDVclaude
andcommitted
Standardize generate.sh: dotnet tool install + curl --fail
Simplify tool install to just `dotnet tool install --global` (works whether already installed or not). Add --fail --silent --show-error to curl invocations so the script aborts on HTTP errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 934a228 commit 29fa692

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/Descript/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
dotnet tool install --global autosdk.cli --prerelease
55
rm -rf Generated
6-
curl -o openapi.yaml https://docs.descriptapi.com/openapi.yaml
6+
curl --fail --silent --show-error -o openapi.yaml https://docs.descriptapi.com/openapi.yaml
77

88
# Add top-level security array
99
yq -i '.security = [{"bearerAuth": []}]' openapi.yaml

0 commit comments

Comments
 (0)