Class ApiParameterDescription
- Namespace
- System.Web.Http.Description
- Assembly
- System.Web.Http.dll
Describes a parameter on the API defined by relative URI path and HTTP method.
public class ApiParameterDescription
- Inheritance
-
ApiParameterDescription
- Inherited Members
Constructors
ApiParameterDescription()
Initializes a new instance of the ApiParameterDescription class.
public ApiParameterDescription()
Properties
Documentation
Gets or sets the documentation.
public string Documentation { get; set; }
Property Value
- string
The documentation.
Name
Gets or sets the name.
public string Name { get; set; }
Property Value
- string
The name.
ParameterDescriptor
Gets or sets the parameter descriptor.
public HttpParameterDescriptor ParameterDescriptor { get; set; }
Property Value
- HttpParameterDescriptor
The parameter descriptor.
Source
Gets or sets the source of the parameter. It may come from the request URI, request body or other places.
public ApiParameterSource Source { get; set; }
Property Value
- ApiParameterSource
The source.