Build cURL commands and Authorization headers, generate OpenAPI security schemes, and simulate rate-limit headers and 401/403 responses to test client error handling.