pub trait ApidocHandlerSchemas {
// Required method
fn collect(out: &mut Vec<(String, RefOr<Schema>)>);
}Expand description
Reports the full set of schemas a handler’s arguments reference.
The method macro emits an impl for the dispatch struct; the
extended routes! macro calls it to extend the
OpenAPI router’s schema collection before the router is merged.
Required Methods§
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.