Soenneker.Fastly.OpenApiClient
11.0.125
Prefix Reserved
dotnet add package Soenneker.Fastly.OpenApiClient --version 11.0.125
NuGet\Install-Package Soenneker.Fastly.OpenApiClient -Version 11.0.125
<PackageReference Include="Soenneker.Fastly.OpenApiClient" Version="11.0.125" />
<PackageVersion Include="Soenneker.Fastly.OpenApiClient" Version="11.0.125" />
<PackageReference Include="Soenneker.Fastly.OpenApiClient" />
paket add Soenneker.Fastly.OpenApiClient --version 11.0.125
#r "nuget: Soenneker.Fastly.OpenApiClient, 11.0.125"
#:package Soenneker.Fastly.OpenApiClient@11.0.125
#addin nuget:?package=Soenneker.Fastly.OpenApiClient&version=11.0.125
#tool nuget:?package=Soenneker.Fastly.OpenApiClient&version=11.0.125
Soenneker.Fastly.OpenApiClient
A Kiota-generated .NET client for the Fastly API.
Installation
dotnet add package Soenneker.Fastly.OpenApiClient
Create a client
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Fastly.OpenApiClient;
var httpClient = new HttpClient
{
BaseAddress = new Uri("https://api.fastly.com/")
};
httpClient.DefaultRequestHeaders.Add("Fastly-Key", apiToken);
var adapter = new HttpClientRequestAdapter(
new AnonymousAuthenticationProvider(),
httpClient: httpClient);
var client = new FastlyOpenApiClient(adapter);
The HTTP client supplies authentication, so the Kiota adapter uses AnonymousAuthenticationProvider to avoid adding a second authorization mechanism.
Make a request
var currentUser = await client.Current_user.GetAsync(
cancellationToken: cancellationToken);
The generated surface follows Fastly's endpoint groups, including Service, Purge, Stats, Tls, and Tokens. Request and response types live under Soenneker.Fastly.OpenApiClient.Models.
The source is generated. Put custom construction and application behavior outside this package so regeneration does not overwrite it. Soenneker.Fastly.OpenApiClientUtil provides cached client construction for applications using service registration.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.2.0)
- Microsoft.Kiota.Serialization.Form (>= 2.2.0)
- Microsoft.Kiota.Serialization.Json (>= 2.2.0)
- Microsoft.Kiota.Serialization.Multipart (>= 2.2.0)
- Microsoft.Kiota.Serialization.Text (>= 2.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Fastly.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.Fastly.OpenApiClientUtil
Provides lazy, cached access to the generated Fastly API client. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.125 | 54 | 12/4/2026 |
| 11.0.123 | 195 | 12/1/2026 |
| 11.0.122 | 138 | 11/30/2026 |
| 11.0.121 | 161 | 11/20/2026 |
| 11.0.120 | 122 | 11/19/2026 |
| 11.0.119 | 131 | 11/18/2026 |
| 11.0.118 | 93 | 11/18/2026 |
| 11.0.117 | 140 | 11/18/2026 |
| 11.0.116 | 106 | 11/17/2026 |
| 11.0.115 | 112 | 11/17/2026 |
| 11.0.114 | 94 | 11/17/2026 |
| 11.0.113 | 137 | 11/14/2026 |
| 11.0.112 | 123 | 11/11/2026 |
| 11.0.111 | 121 | 11/10/2026 |
| 11.0.110 | 117 | 11/3/2026 |
| 11.0.109 | 156 | 11/3/2026 |
| 11.0.108 | 117 | 11/2/2026 |
| 11.0.107 | 115 | 11/2/2026 |
| 11.0.106 | 119 | 10/31/2026 |
| 11.0.105 | 128 | 10/31/2026 |
Update Soenneker.Fastly.OpenApiClient