[ 1 PROMPT ]
Generates a production-ready API endpoint with validation, auth, error handling, and types — ready to paste in.