Refitter website screenshot

Refitter

Refitter is a .NET tool and source generator that produces Refit HTTP client interfaces from OpenAPI specifications. It runs at compile time as a source generator or as a standalone CLI tool (dotnet-refitter), enabling type-safe API consumption in .NET projects. Refitter reads OpenAPI 2.0 (Swagger) and OpenAPI 3.x specifications and generates strongly-typed C# interface definitions and model classes compatible with the Refit library.

Refitter publishes 2 APIs on the APIs.io network. Tagged areas include .NET, C#, Code Generation, OpenAPI, and Refit.

The Refitter catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

Refitter’s developer surface includes documentation and 9 more developer resources.

31.2/100 thin ▬ flat Agent 3/100 human only Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemium
2 APIs
.NETC#Code GenerationOpenAPIRefitSource GeneratorType-Safe

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 31.2/100 · thin
Contract Quality 3.2 / 25
Developer Ergonomics 1.7 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 4.1 / 13
Governance 8.3 / 12
Discoverability 5.9 / 10
Agent readiness — 3/100 · human only
Machine-Readable Contract 0 / 18
Agentic Access Contract 0 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/refitter: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 2

Individual APIs this provider publishes, each with its own machine-readable definition.

Refitter

Refitter is a .NET source generator and CLI tool that produces Refit HTTP client interfaces from OpenAPI 2.0 and 3.x specifications. Supports compile-time code generation via MS...

Refit

The type-safe REST library for .NET that Refitter generates interfaces for. Refit turns REST APIs into live interfaces by decorating C# interfaces with attributes describing the...

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Refitter Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Refitter Context

9 classes · 7 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

Refitter API Rules

5 rules · 4 warnings 1 info

SPECTRAL

JSON Schema 1

Standalone JSON Schema definitions for this provider's data models.

Refitter Settings

18 properties

JSON SCHEMA

JSON Structure 1

JSON Structure definitions describing this provider's data shapes.

Refitter Output Structure

0 properties

JSON STRUCTURE

Resources

Documentation 2

Reference material describing how the API behaves

Design & Contract 3

Pagination, idempotency, versioning, errors, and events

Build 2

SDKs, sample code, and the tooling you integrate with

Operate 1

Status, limits, changes, and where to get help

Commercial 1

Pricing, plans, and the legal terms of use

Company 1

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: refitter
name: Refitter
description: Refitter is a .NET tool and source generator that produces Refit HTTP client interfaces from OpenAPI specifications.
  It runs at compile time as a source generator or as a standalone CLI tool (dotnet-refitter), enabling type-safe API consumption
  in .NET projects. Refitter reads OpenAPI 2.0 (Swagger) and OpenAPI 3.x specifications and generates strongly-typed C# interface
  definitions and model classes compatible with the Refit library.
type: Index
accessModel:
  pricing: freemium
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Freemium
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/refitter.png
url: https://raw.githubusercontent.com/api-evangelist/refitter/refs/heads/main/apis.yml
created: '2026-03-25'
modified: '2026-05-02'
specificationVersion: '0.19'
tags:
- .NET
- C#
- Code Generation
- OpenAPI
- Refit
- Source Generator
- Type-Safe
apis:
- aid: refitter:refitter
  name: Refitter
  description: Refitter is a .NET source generator and CLI tool that produces Refit HTTP client interfaces from OpenAPI 2.0
    and 3.x specifications. Supports compile-time code generation via MSBuild source generators and on-demand generation via
    the dotnet-refitter global tool. Generates C# interfaces, model classes, and optional Refit settings for use with the
    Refit HttpClient library.
  humanURL: https://github.com/christianhelle/refitter
  baseURL: https://refitter.github.io
  tags:
  - .NET
  - C#
  - Code Generation
  - OpenAPI
  - Refit
  - Source Generator
  properties:
  - type: Documentation
    url: https://refitter.github.io
  - type: GettingStarted
    url: https://refitter.github.io/articles/getting-started.html
  - type: GitHubRepository
    url: https://github.com/christianhelle/refitter
  - type: NuGetPackage
    url: https://www.nuget.org/packages/Refitter
  - type: NuGetPackage
    url: https://www.nuget.org/packages/dotnet-refitter
  - type: ChangeLog
    url: https://github.com/christianhelle/refitter/releases
  - type: License
    url: https://github.com/christianhelle/refitter/blob/main/LICENSE
  - type: Issues
    url: https://github.com/christianhelle/refitter/issues
  - type: Forums
    url: https://github.com/christianhelle/refitter/discussions
- aid: refitter:refit
  name: Refit
  description: The type-safe REST library for .NET that Refitter generates interfaces for. Refit turns REST APIs into live
    interfaces by decorating C# interfaces with attributes describing the HTTP endpoints, then generating HttpClient calls
    at runtime via Castle DynamicProxy or source generators.
  humanURL: https://reactiveui.github.io/refit/
  tags:
  - .NET
  - HttpClient
  - REST Client
  - Type-Safe
  properties:
  - type: Documentation
    url: https://reactiveui.github.io/refit/
  - type: GitHubRepository
    url: https://github.com/reactiveui/refit
  - type: NuGetPackage
    url: https://www.nuget.org/packages/Refit
common:
- type: Website
  url: https://refitter.github.io
- type: GitHubRepository
  url: https://github.com/christianhelle/refitter
- type: Documentation
  url: https://refitter.github.io
- type: Issues
  url: https://github.com/christianhelle/refitter/issues
- type: NuGetPackage
  url: https://www.nuget.org/packages/Refitter
- type: License
  url: https://github.com/christianhelle/refitter/blob/main/LICENSE
- type: JSONSchema
  url: json-schema/refitter-settings-schema.json
- type: JSONStructure
  url: json-structure/refitter-output-structure.json
- type: JSONLDContext
  url: json-ld/refitter-context.jsonld
- type: Vocabulary
  url: vocabulary/refitter-vocabulary.yml
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com