Trait PathItemExt

Source
pub trait PathItemExt {
    // Required method
    fn to_method_filter(&self) -> MethodFilter;
}
Expand description

Extends utoipa::openapi::path::PathItem by providing conversion methods to convert this path item type to a axum::routing::MethodFilter.

Required Methods§

Source

fn to_method_filter(&self) -> MethodFilter

Convert this path item type to a axum::routing::MethodFilter.

Method filter is used with handler registration on axum::routing::MethodRouter.

Implementors§