Step 1 of 3
Fuzz the local OpenAPI server and catch a 500 crash
/workspace/server.py runs an HTTP service matching openapi.json, but crashes with HTTP 500 when order_id > 50.
Start the local server and run Schemathesis (st run --checks all) to capture the failure in /workspace/fuzz-err.txt:
bash
python3 server.py >/tmp/api.log 2>&1 </dev/null & sleep 1 && st run openapi.json --checks all --max-examples 5 --url http://127.0.0.1:8765 > fuzz-err.txt 2>&1 || true; tail -n 20 fuzz-err.txt