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

Refit.QueryConverterAttribute

public sealed class QueryConverterAttribute : Attribute
Flattens a query parameter with a hand-written IQueryConverter<T> instead of the source generator's declared-type walk, for shapes that are only known at runtime (an Object value, a polymorphic base type, a Dictionary<string, object>, and similar).
public Type ConverterType { get; }

Gets the IQueryConverter<T> implementation type.

public QueryConverterAttribute(Type converterType)

Initializes a new instance of the QueryConverterAttribute class.