We should expand APIResponse to include headers and parameters in the Generic interface, and then include that into the generated schema. We probably also want them to be supported as keyword-only handler parameters for Pydantic validation.