pub trait OperationModifier {
// Required method
fn update_operation(op: &mut Operation);
}Expand description
Trait for types that can modify an OpenAPI operation
This is used by extractors to automatically update the operation documentation (e.g. adding request body schema, parameters, etc.)
Required Methods§
Sourcefn update_operation(op: &mut Operation)
fn update_operation(op: &mut Operation)
Update the operation
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.