pub trait DefinitionHolder {
// Required methods
fn path(&self) -> &str;
fn operations(&mut self) -> IndexMap<OperationType, Operation>;
fn components(&mut self) -> Vec<Components>;
// Provided method
fn update_path_items(
&mut self,
path_op_map: &mut IndexMap<String, PathItem>,
) { ... }
}