diff --git a/CHANGELOG.md b/CHANGELOG.md index b7116d39..141977c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,6 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Audio export failing when Tauri save dialog returns object instead of string path +- OpenAPI client generator script now documents the local backend port and avoids an unused loop variable warning ### Added - **Makefile** - Comprehensive development workflow automation with commands for setup, development, building, testing, and code quality checks diff --git a/scripts/generate-api.sh b/scripts/generate-api.sh index b6239981..c2de5293 100755 --- a/scripts/generate-api.sh +++ b/scripts/generate-api.sh @@ -26,12 +26,12 @@ if ! curl -s http://localhost:17493/openapi.json > /dev/null 2>&1; then # Start backend in background echo "Starting backend server..." - uvicorn main:app --port 17493 & + uvicorn main:app --port 17493 & # Keep the generator on the app's documented local backend port. BACKEND_PID=$! # Wait for server to be ready echo "Waiting for server to start..." - for i in {1..30}; do + for _ in {1..30}; do if curl -s http://localhost:17493/openapi.json > /dev/null 2>&1; then break fi