pub struct ResolvedPathItem {Show 13 fields
pub summary: Option<String>,
pub description: Option<String>,
pub get: Option<ResolvedOperation>,
pub put: Option<ResolvedOperation>,
pub post: Option<ResolvedOperation>,
pub delete: Option<ResolvedOperation>,
pub options: Option<ResolvedOperation>,
pub head: Option<ResolvedOperation>,
pub patch: Option<ResolvedOperation>,
pub trace: Option<ResolvedOperation>,
pub servers: Vec<Server>,
pub parameters: Vec<Shared<ResolvedParameter>>,
pub extensions: IndexMap<String, Value>,
}Expand description
PathItem with every $ref replaced by the item it named.
Fields§
§summary: Option<String>See PathItem::summary.
description: Option<String>§get: Option<ResolvedOperation>See PathItem::get.
put: Option<ResolvedOperation>See PathItem::put.
post: Option<ResolvedOperation>See PathItem::post.
delete: Option<ResolvedOperation>See PathItem::delete.
options: Option<ResolvedOperation>See PathItem::options.
head: Option<ResolvedOperation>See PathItem::head.
patch: Option<ResolvedOperation>See PathItem::patch.
trace: Option<ResolvedOperation>See PathItem::trace.
servers: Vec<Server>See PathItem::servers.
parameters: Vec<Shared<ResolvedParameter>>See PathItem::parameters.
extensions: IndexMap<String, Value>See PathItem::extensions.
Implementations§
Source§impl ResolvedPathItem
impl ResolvedPathItem
Sourcepub fn iter(&self) -> impl Iterator<Item = (&'static str, &ResolvedOperation)>
pub fn iter(&self) -> impl Iterator<Item = (&'static str, &ResolvedOperation)>
The operations this path item defines, keyed by lower-case HTTP method.
Trait Implementations§
Source§impl Debug for ResolvedPathItem
impl Debug for ResolvedPathItem
Source§impl PartialEq for ResolvedPathItem
impl PartialEq for ResolvedPathItem
impl StructuralPartialEq for ResolvedPathItem
Auto Trait Implementations§
impl Freeze for ResolvedPathItem
impl RefUnwindSafe for ResolvedPathItem
impl Send for ResolvedPathItem
impl Sync for ResolvedPathItem
impl Unpin for ResolvedPathItem
impl UnsafeUnpin for ResolvedPathItem
impl UnwindSafe for ResolvedPathItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more