patchUserSchema: ZodObject<{
    body: ZodObject<{
        username: ZodOptional<ZodString>;
    }, "strip", ZodTypeAny, {
        username: undefined | string;
    }, {
        username: undefined | string;
    }>;
    params: ZodObject<{
        id: ZodString;
    }, "strip", ZodTypeAny, {
        id: string;
    }, {
        id: string;
    }>;
}, "strip", ZodTypeAny, {
    body: { username?: string | undefined; };
    params: { id: string; };
}, {
    body: { username?: string | undefined; };
    params: { id: string; };
}> = ...

This schema is used to validate PATCH /users/:id request

Author

aayushchugh

Generated using TypeDoc