Tagged: Refitter
Clients generated with Refitter.
Pages with this tag
Generators
1Kiota and Refitter compared, what each writes, the command line Chirograph runs, and the packages it adds to the project for each.
Registration
2The Add<ClientName>() extension every client gets, its generated <ClientName>Options, filled from Clients:<ClientName> and a connection string and validated at startup, and configuring the client further on IHttpClientBuilder.
From a file
3Generate a client from an OpenAPI document kept in the project, as JSON or YAML.
From a server project
4Generate a client from the OpenAPI document an ASP.NET Core project in the same build writes, including servers with several target frameworks or several documents.
From a URL
5Generate a client from an OpenAPI document served over HTTP, keep it in a document cache you can commit, and build without the network.
Migrating from OpenApiReference
6Move a project from Microsoft.Extensions.ApiDescription.Client's OpenApiReference and dotnet openapi, deprecated in .NET 10, to Chirograph's OpenApiClient.
Generated code
7The files Chirograph writes for each client in obj, which of them are compiled, and the shape of the generated Add<ClientName>() registration and <ClientName>Options.