</>PackageGraphPackageGraph

Refit

NuGetv15.2.0

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.

Adopt with care

Refit is usable, with caveats. Pulls in 72 transitive packages (at least — some of the tree is still being crawled).

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 22 days ago. 26 releases in the last 2 years.

  • DWeight: grade D, Poor — a real concern.

    Pulls in 72 transitive packages (at least — some of the tree is still being crawled).

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding Refit to a project.

5
Direct dependencies

Runtime packages this one declares itself.

72
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

4
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

MIT

Every license you inherit by installing Refit, not just its own. Check this before a legal review, not after.

Compatibility

.NET
No constraint declared

Refit vs the alternatives

Packages solving a similar problem in the nuget ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
Refitthis page00MIT22 days ago
Newtonsoft.Json02MIT1 day ago
Microsoft.AspNetCore.Mvc.Formatters.Json021 day ago

Dependencies

Declared by Refit v15.2.0. Runtime dependencies are installed with the package; dev dependencies are not.

Runtime (5)

Relationship graph

Dependencies (left) and dependents (right) of Refit.

Release history

22 releases in the last two years, typically about 2 days apart.

Recent versions of Refit
VersionPublishedLicense
15.2.0latest22 days agoMIT
15.1.026 days agoMIT
15.0.01 month agoMIT
15.0.0-beta.11 month agoMIT
14.0.11 month agoMIT
14.0.01 month agoMIT
14.0.0-beta.51 month agoMIT
14.0.0-beta.41 month agoMIT
14.0.0-beta.31 month agoMIT
14.0.0-beta.21 month agoMIT
14.0.0-beta.11 month agoMIT
13.1.02 months agoMIT
13.0.02 months agoMIT
12.1.02 months agoMIT
12.0.02 months agoMIT

Overview

Refit is an NuGet package that 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. The latest version is 15.2.0, released under the MIT license.

Who should use it

Teams working in the NuGet ecosystem who need 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 and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your NuGet stack.

Pros

  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use Refit?

Refit is usable, with caveats. Pulls in 72 transitive packages (at least — some of the tree is still being crawled).

How do I install Refit?

Run `dotnet add package Refit` to add Refit to your NuGet project.

How many dependencies does Refit have?

Refit declares 5 direct dependencies and pulls in 72 packages in total once its runtime tree is resolved.

What license is Refit released under?

Refit is distributed under the MIT license.

Is Refit still maintained?

The most recent release of Refit (v15.2.0) was published 22 days ago.