Validates one input group of a request against a zod object schema.
Every field must be a scalar unless the schema declares it repeatable, no
polluting key is accepted, and unknown keys are stripped. A line break is
allowed only in the body. Never throws for a bad request.
Validates one input group of a request against a zod object schema.
Every field must be a scalar unless the schema declares it repeatable, no polluting key is accepted, and unknown keys are stripped. A line break is allowed only in the body. Never throws for a bad request.