# Refit (NuGet)

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.

- Latest: 17.1.0 (2026-11-30)
- Licence: MIT
- Downloads: 213454373 all time
- Advisories on the latest version: 0

- CVE-2024-51501 CRITICAL: CRLF injection in Refit's [Header], [HeaderCollection] and [Authorize] attributes  Fixed in 7.2.22.

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