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

Refit.GeneratedSingleTypeParameterAttributeProvider

Provides the attributes declared on a parameter when every one of them has the same type, which needs neither a dictionary nor a flattening pass. Use GeneratedParameterAttributeProvider when the parameter carries attributes of more than one type.
public GeneratedSingleTypeParameterAttributeProvider(Type type, object[] attributes)

Provides the attributes declared on a parameter when every one of them has the same type, which needs neither a dictionary nor a flattening pass. Use GeneratedParameterAttributeProvider when the parameter carries attributes of more than one type.

public object[] GetCustomAttributes(bool inherit)

public object[] GetCustomAttributes(Type attributeType, bool inherit)

public bool IsDefined(Type attributeType, bool inherit)