nori/builder/path_builder
Builder for constructing PathItem objects with a fluent API.
Types
Builder for creating PathItem objects.
pub opaque type PathBuilder
Values
pub fn delete(
builder: PathBuilder,
op: operation.Operation,
) -> PathBuilder
Sets the DELETE operation.
pub fn description(
builder: PathBuilder,
d: String,
) -> PathBuilder
Sets the description.
pub fn get(
builder: PathBuilder,
op: operation.Operation,
) -> PathBuilder
Sets the GET operation.
pub fn head(
builder: PathBuilder,
op: operation.Operation,
) -> PathBuilder
Sets the HEAD operation.
pub fn options(
builder: PathBuilder,
op: operation.Operation,
) -> PathBuilder
Sets the OPTIONS operation.
pub fn parameter(
builder: PathBuilder,
param: parameter.Parameter,
) -> PathBuilder
Adds a parameter.
pub fn parameter_ref(
builder: PathBuilder,
ref: String,
) -> PathBuilder
Adds a parameter reference.
pub fn patch(
builder: PathBuilder,
op: operation.Operation,
) -> PathBuilder
Sets the PATCH operation.
pub fn post(
builder: PathBuilder,
op: operation.Operation,
) -> PathBuilder
Sets the POST operation.
pub fn put(
builder: PathBuilder,
op: operation.Operation,
) -> PathBuilder
Sets the PUT operation.
pub fn trace(
builder: PathBuilder,
op: operation.Operation,
) -> PathBuilder
Sets the TRACE operation.