Parses and validates the response body using a provided schema.
The type of the response body.
The response body to be validated.
Optional
The Zod schema to validate the response body.
Parses and validates the response body using a provided schema.
Throws