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

Refit.PathPrefixAttribute

public sealed class PathPrefixAttribute : Attribute
Prepends a shared route prefix to every method's relative path on the interface it decorates.
public string Prefix { get; }

Gets the route prefix prepended to every method's relative path.

public PathPrefixAttribute(string prefix)

Prepends a shared route prefix to every method's relative path on the interface it decorates.