Soenneker.Windmill.OpenApiClientUtil 11.0.290

Prefix Reserved
dotnet add package Soenneker.Windmill.OpenApiClientUtil --version 11.0.290
                    
NuGet\Install-Package Soenneker.Windmill.OpenApiClientUtil -Version 11.0.290
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Windmill.OpenApiClientUtil" Version="11.0.290" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Windmill.OpenApiClientUtil" Version="11.0.290" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Windmill.OpenApiClientUtil" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Windmill.OpenApiClientUtil --version 11.0.290
                    
#r "nuget: Soenneker.Windmill.OpenApiClientUtil, 11.0.290"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Windmill.OpenApiClientUtil@11.0.290
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Windmill.OpenApiClientUtil&version=11.0.290
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Windmill.OpenApiClientUtil&version=11.0.290
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Windmill.OpenApiClientUtil

Provides a cached WindmillOpenApiClient using the configured Windmill instance URL and bearer token.

Installation

dotnet add package Soenneker.Windmill.OpenApiClientUtil

Configuration

{
  "Windmill": {
    "Token": "your-user-token",
    "ClientBaseUrl": "https://app.windmill.dev/api/"
  }
}

Use your own instance URL for self-hosted Windmill. Windmill:ApiKey remains supported as a legacy alias for Token.

Registration and usage

using Soenneker.Windmill.OpenApiClient.Models;
using Soenneker.Windmill.OpenApiClientUtil.Abstract;
using Soenneker.Windmill.OpenApiClientUtil.Registrars;

services.AddWindmillOpenApiClientUtilAsSingleton();

public sealed class WorkspaceService
{
    private readonly IWindmillOpenApiClientUtil _clientProvider;

    public WorkspaceService(IWindmillOpenApiClientUtil clientProvider)
    {
        _clientProvider = clientProvider;
    }

    public async Task<IReadOnlyList<ListWorkspaces200ResponseSchemaItem>> List(
        CancellationToken cancellationToken)
    {
        var client = await _clientProvider.Get(cancellationToken);
        return await client.Workspaces.List.GetAsync(
            cancellationToken: cancellationToken) ?? [];
    }
}

AddWindmillOpenApiClientUtilAsScoped() creates one generated client per scope while continuing to use the singleton HTTP transport. Disposing the scoped provider does not remove that shared transport.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.290 51 11/22/2026
11.0.289 49 11/21/2026
11.0.288 58 11/20/2026
11.0.287 76 11/19/2026
11.0.286 70 11/19/2026
11.0.284 69 11/18/2026
11.0.283 70 11/18/2026
11.0.282 78 11/18/2026
11.0.281 80 11/17/2026
11.0.280 105 11/15/2026
11.0.279 95 11/15/2026
11.0.278 105 11/15/2026
11.0.277 100 11/14/2026
11.0.276 98 11/12/2026
11.0.275 93 11/11/2026
11.0.274 87 11/11/2026
11.0.273 99 11/11/2026
11.0.272 93 11/11/2026
11.0.271 92 11/11/2026
11.0.270 103 11/7/2026
Loading failed

Update dependency Soenneker.Windmill.OpenApiClient to 11.0.154 (#417)