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

Refit.IParameterAttributeProvider

public interface IParameterAttributeProvider
Exposes the attributes declared on a request parameter or property, as precomputed by the generator or read by Refit.Reflection.
object[] GetCustomAttributes(bool inherit)

Gets all the attributes declared on the parameter or property.

object[] GetCustomAttributes(Type attributeType, bool inherit)

Gets the attributes of the given type declared on the parameter or property.

bool IsDefined(Type attributeType, bool inherit)

Determines whether an attribute of the given type is declared on the parameter or property.