C# Class Swagger.ObjectModel.Builders.PathItemBuilder

The path item builder.
显示文件 Open project: khellang/Nancy.Swagger Class Usage Examples

Public Methods

Method Description
Build ( ) : PathItem

The build.

Operation ( Action action ) : PathItemBuilder

Defines the operation for the path and method;

Parameter ( BodyParameterBuilder parameter ) : PathItemBuilder

Add a body parameter for this operation

Parameter ( Parameter parameter ) : PathItemBuilder

Add a parameter for this operation

Parameter ( ParameterBuilder parameter ) : PathItemBuilder

Add a parameter for this operation

Parameters ( IEnumerable parameters ) : PathItemBuilder

Add parameters that are valid for this operation

PathItemBuilder ( HttpMethod method ) : System

Method Details

Build() public method

The build.
public Build ( ) : PathItem
return PathItem

Operation() public method

Defines the operation for the path and method;
public Operation ( Action action ) : PathItemBuilder
action Action
return PathItemBuilder

Parameter() public method

Add a body parameter for this operation
public Parameter ( BodyParameterBuilder parameter ) : PathItemBuilder
parameter BodyParameterBuilder /// The parameter. ///
return PathItemBuilder

Parameter() public method

Add a parameter for this operation
public Parameter ( Parameter parameter ) : PathItemBuilder
parameter Parameter /// The parameter. ///
return PathItemBuilder

Parameter() public method

Add a parameter for this operation
public Parameter ( ParameterBuilder parameter ) : PathItemBuilder
parameter ParameterBuilder /// The parameter. ///
return PathItemBuilder

Parameters() public method

Add parameters that are valid for this operation
public Parameters ( IEnumerable parameters ) : PathItemBuilder
parameters IEnumerable /// The parameters. ///
return PathItemBuilder

PathItemBuilder() public method

public PathItemBuilder ( HttpMethod method ) : System
method HttpMethod
return System