# refitter

Generate Refit interfaces and contracts from OpenAPI \(Swagger\) specifications

Canonical page: https://www.reposhelf.co.uk/projects/github/christianhelle/refitter.html

- Project ID: christianhelle/refitter
- Source: GitHub
- Original project: https://github.com/christianhelle/refitter
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-04T14:46:50.318Z
- Demo page loaded: 2026-11-06T00:53:18.432Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> Refitter is a tool for generating a C\# REST API Client using the Refit library. Refitter can generate the Refit interface and contracts from OpenAPI specifications. Refitter could format the generated Refit interface to be managed by Apizr \(v6+\) and generate some registration helpers too.

> Upgrading to v2.0.0? Review the Breaking Changes \(v2.0.0\) guide. Source-generator projects may now need an explicit Refit reference, and the OpenAPI parser upgrade should be treated as a regenerate-review-test migration step rather than a fully proven behavioral no-op.

> The MSBuild task offers several advantages over the Source Generator:

- A .NET CLI Tool distributed via nuget.org that outputs a single C\# file on disk
- An MSBuild Task via the Refitter.MSBuild package that integrates seamlessly into your build pipeline and automatically generates code at build time based on .refitter files within the project directory
- A C\# Source Generator via the Refitter.SourceGenerator package that generates code on compile time based on a .refitter within the project directory
- Build-time Generation: Code is generated during the pre-build process, which ensures that the Refit source generator will work without needing to rebuild a second time.
- No Manual Commits: Generated files are created automatically during build, eliminating the need to commit generated code to source control

## Author-documented requirements and audience

> Refitter is a tool for generating a C\# REST API Client using the Refit library. Refitter can generate the Refit interface and contracts from OpenAPI specifications. Refitter could format the generated Refit interface to be managed by Apizr \(v6+\) and generate some registration helpers too.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/christianhelle/refitter/blob/main/README.md

Extraction checked: 2026-10-20T15:41:40.693Z

Last recorded source update: 2026-11-03T22:17:46.000Z

Saved release: 2.3.0 — 2026-09-28T14:52:44.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=christianhelle%2Frefitter). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
