pub struct PathItem {Show 14 fields
pub reference: Option<String>,
pub summary: Option<String>,
pub description: Option<String>,
pub get: Option<Operation>,
pub put: Option<Operation>,
pub post: Option<Operation>,
pub delete: Option<Operation>,
pub options: Option<Operation>,
pub head: Option<Operation>,
pub patch: Option<Operation>,
pub trace: Option<Operation>,
pub servers: Option<Vec<Server>>,
pub parameters: Option<Vec<RefOrObject<Parameter>>>,
pub extensions: Extensions,
}
Expand description
§Path Item
Describes the operations available on a single path.
Fields§
§reference: Option<String>
Allows for an external definition of this path item. The referenced structure MUST be in the format of a Path Item Object. If there are conflicts between the referenced definition and this Path Item’s definition, the behavior is undefined.
summary: Option<String>
An optional, string summary, intended to apply to all operations in this path.
description: Option<String>
An optional, string description, intended to apply to all operations in this path.
get: Option<Operation>
A definition of a GET operation on this path.
put: Option<Operation>
A definition of a GET operation on this path.
post: Option<Operation>
A definition of a GET operation on this path.
delete: Option<Operation>
A definition of a GET operation on this path.
options: Option<Operation>
A definition of a GET operation on this path.
head: Option<Operation>
A definition of a GET operation on this path.
patch: Option<Operation>
A definition of a GET operation on this path.
trace: Option<Operation>
A definition of a TRACE operation on this path.
servers: Option<Vec<Server>>
An alternative server array to service all operations in this path.
parameters: Option<Vec<RefOrObject<Parameter>>>
A list of parameters that are applicable for all the operations described under this path.
extensions: Extensions