<PackageReference Include="Refit" Version="16.0.0" />

Refit.RestMethodParameterInfo

Describes a parameter of a REST method.
public bool IsObjectPropertyParameter { get; set; }

Gets or sets a value indicating whether this instance is an object property parameter.

public string Name { get; set; }

Gets or sets the name.

public ParameterInfo ParameterInfo { get; set; }

Gets or sets the parameter information.

Gets the parameter properties.

public ParameterType Type { get; set; }

Gets or sets the parameter type.

public RestMethodParameterInfo(string name, ParameterInfo parameterInfo)

Initializes a new instance of the RestMethodParameterInfo class with a name.

public RestMethodParameterInfo(bool isObjectPropertyParameter, ParameterInfo parameterInfo)

Initializes a new instance of the RestMethodParameterInfo class for an object property parameter.