Trait salvo_oapi::endpoint::EndpointArgRegister
source · pub trait EndpointArgRegister {
// Required method
fn register(
components: &mut Components,
operation: &mut Operation,
arg: &str,
);
}
Expand description
A trait for endpoint argument register.
Required Methods§
sourcefn register(components: &mut Components, operation: &mut Operation, arg: &str)
fn register(components: &mut Components, operation: &mut Operation, arg: &str)
Modify the OpenApi components section or current operation information with given argument. This function is called by macros internal.
Object Safety§
This trait is not object safe.