diff --git a/.gitignore b/.gitignore index 3546253a..c766b79d 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,9 @@ Thumbs.db .checkly/ *.log +# Temp files +.tmp_checkly_openapi.json + # Playwright test-results/ playwright-report/ diff --git a/update-api-spec.sh b/update-api-spec.sh index e9b9c122..943e7579 100755 --- a/update-api-spec.sh +++ b/update-api-spec.sh @@ -6,7 +6,7 @@ set -e LIVE_API_URL="https://api.checklyhq.com/openapi.json" API_SPEC_PATH="./api-reference/openapi.json" -TEMP_FILE="/tmp/checkly_openapi.json" +TEMP_FILE="./.tmp_checkly_openapi.json" echo "📥 Fetching live API specification from $LIVE_API_URL..." curl -s "$LIVE_API_URL" > "$TEMP_FILE"