docs: address review nits for API generator

This commit is contained in:
pandego
2026-03-13 05:08:25 +01:00
parent cdef2163c1
commit 3d2506767d
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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