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

Refit.RestMethodParameterProperty

Describes a property used as part of a REST method parameter.
public string Name { get; set; }

Gets or sets the property name.

Gets or sets the ordered property navigation from the parameter to the bound value.

public PropertyInfo PropertyInfo { get; set; }

Gets or sets the property information for the bound value (the final link of PropertyChain).

public RestMethodParameterProperty(string name, PropertyInfo propertyInfo)

Initializes a new instance of the RestMethodParameterProperty class for a single property.

public RestMethodParameterProperty(string name, IReadOnlyList<PropertyInfo> propertyChain)

Initializes a new instance of the RestMethodParameterProperty class for a nested property chain.