Method | Description | |
---|---|---|
BodyParameter ( Action |
Add a body parameter for this operation
|
|
Build ( System.Operation provided = null ) : System.Operation |
The build.
|
|
ConsumeMimeType ( string consume ) : |
Add a MIME type the operation can consume
|
|
ConsumeMimeTypes ( IEnumerable |
Add a list of MIME types the operation can consume
|
|
Description ( string description ) : |
A verbose explanation of the operation behavior. GitHub Flavored Markdown syntax can be used for rich text representation.
|
|
ExternalDocumentation ( ExternalDocumentation documentation ) : |
Additional external documentation
|
|
ExternalDocumentation ( ExternalDocumentationBuilder documentation ) : |
Additional external documentation
|
|
IsDeprecated ( ) : |
Declares this operation to be deprecated
|
|
OperationId ( string operationId ) : |
A friendly name for the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operation id to uniquely identify an operation.
|
|
Parameter ( Action |
Add a parameter for this operation
|
|
Parameter ( Parameter parameter ) : |
Add a parameter for this operation
|
|
Parameters ( IEnumerable |
Add parameters that are valid for this operation
|
|
ProduceMimeType ( string produce ) : |
Add a MIME type the operation can produce
|
|
ProduceMimeTypes ( IEnumerable |
Add a list of MIME types the operation can produce
|
|
Response ( Action |
Add the default response
|
|
Response ( HttpStatusCode httpStatusCode, Action |
Add the expected response object for an HTTP Status Code
|
|
Response ( int httpStatusCode, Action |
Add the expected response object for an HTTP Status Code
|
|
Response ( string httpStatusCode, Action |
Add the expected response object for an HTTP Status Code
|
|
Scheme ( Schemes scheme ) : |
Add a transfer protocol
|
|
SecurityRequirement ( KeyValuePair |
Add a security requirement
|
|
SecurityRequirement ( |
Add a security requirement from the builder
|
|
SecurityRequirement ( SecuritySchemes securityScheme ) : |
Shortcut to add a security requirement that is not SecuritySchemes.Oauth2
|
|
Summary ( string summary ) : |
A short summary of what the operation does. For maximum readability in the swagger-ui, this field SHOULD be less than 120 characters.
|
|
Tag ( string tag ) : |
Add list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
|
|
Tags ( IEnumerable |
Add list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
|
public BodyParameter ( Action |
||
parameter | Action |
/// The parameter. /// |
return |
public Build ( System.Operation provided = null ) : System.Operation | ||
provided | System.Operation | |
return | System.Operation |
public ConsumeMimeType ( string consume ) : |
||
consume | string | /// The consume. /// |
return |
public ConsumeMimeTypes ( IEnumerable |
||
consumes | IEnumerable |
/// The consumes. /// |
return |
public Description ( string description ) : |
||
description | string | /// The description. /// |
return |
public ExternalDocumentation ( ExternalDocumentation documentation ) : |
||
documentation | ExternalDocumentation | /// The documentation. /// |
return |
public ExternalDocumentation ( ExternalDocumentationBuilder documentation ) : |
||
documentation | ExternalDocumentationBuilder | /// The documentation. /// |
return |
public OperationId ( string operationId ) : |
||
operationId | string | /// The operation id. /// |
return |
public Parameter ( Action |
||
parameter | Action |
/// The parameter. /// |
return |
public Parameter ( Parameter parameter ) : |
||
parameter | Parameter | /// The parameter. /// |
return |
public Parameters ( IEnumerable |
||
parameters | IEnumerable |
/// The parameters. /// |
return |
public ProduceMimeType ( string produce ) : |
||
produce | string | /// The produce. /// |
return |
public ProduceMimeTypes ( IEnumerable |
||
produces | IEnumerable |
/// The produces. /// |
return |
public Response ( Action |
||
response | Action |
/// The response. /// |
return |
public Response ( HttpStatusCode httpStatusCode, Action |
||
httpStatusCode | HttpStatusCode | /// The http status code. /// |
response | Action |
/// The response. /// |
return |
public Response ( int httpStatusCode, Action |
||
httpStatusCode | int | /// The http status code. /// |
response | Action |
/// The response. /// |
return |
public Response ( string httpStatusCode, Action |
||
httpStatusCode | string | /// The http status code. /// |
response | Action |
/// The response. /// |
return |
public Scheme ( Schemes scheme ) : |
||
scheme | Schemes | /// The scheme. /// |
return |
public SecurityRequirement ( KeyValuePair |
||
security | KeyValuePair |
/// The security. /// |
return |
public SecurityRequirement ( |
||
security | /// The security. /// | |
return |
public SecurityRequirement ( SecuritySchemes securityScheme ) : |
||
securityScheme | SecuritySchemes | /// The security scheme. /// |
return |
public Summary ( string summary ) : |
||
summary | string | /// The summary. /// |
return |
public Tag ( string tag ) : |
||
tag | string | /// The tag. /// |
return |
public Tags ( IEnumerable |
||
tags | IEnumerable |
/// The tags. /// |
return |