From d42840744317dcb21941d89b4a523f6e4c8719b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20Ayd=C4=B1n?= Date: Thu, 24 Sep 2026 22:49:37 +0300 Subject: [PATCH] chore: update schema URL and harden sync script Update the OpenAPI schema URL. `curl` ran without `-f`, so an HTTP error was written to the output file and the script still exited 0. This change fix it. Use an `env bash` shebang and `set -euo pipefail`. Resolve paths relative to the repository root, so the script no longer writes into whatever directory it is invoked from. Collect the curl flags into `CURL_OPTS`, gated on `TRACE` and `ACTIONS_STEP_DEBUG` so runs can be made verbose, and harden them: fail on HTTP errors, retry transient failures, refuse redirects that leave https, and bound connect and transfer time so a stalled download cannot hang CI or a local run. Log the download. Mark `sync.sh` and `generate.sh` executable. `contributing.md` documents running both as `./