gatex
    Preparing search index...

    Type Alias RequestSchemaType

    RequestSchemaType:
        | z.ZodTypeAny
        | {
            body?: z.ZodTypeAny;
            headers?: z.ZodTypeAny;
            params?: z.ZodTypeAny;
            query?: z.ZodTypeAny;
        }

    Defines the structure for a validation schema. It can be a single Zod schema or an object specifying schemas for different parts of the request (body, query, params, headers).