Request body for POST /documents/delete: references or a filter, never
both. Written out rather than inferred: inference sees the schema's two
optional selectors, not the refinement requiring exactly one, so the
handler casts its validated body to this type.
Request body for
POST /documents/delete: references or a filter, never both. Written out rather than inferred: inference sees the schema's two optional selectors, not the refinement requiring exactly one, so the handler casts its validated body to this type.