Refit

Type-safe REST API clients for .NET, generated from annotated interfaces with build-time source generation, direct request construction, System.Text.Json defaults, and support for trimming and AOT.

17.1.0Latest, 30 Nov 2026
213MDownloads, all time
0Advisories on the latest
1Advisories, all versions
MITLicence
9.6KStars
5.6/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Critical CRLF injection in Refit's [Header], [HeaderCollection] and [Authorize] attributes CVE-2024-51501 Fixed in 7.2.22 4 Nov 2024

In the news

Sources: NuGet, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.