mirror of
https://github.com/hanzo-csharp/sdk.git
synced 2026-11-15 01:32:19 +00:00
Every /v1 operation the gateway serves as a typed method, generated by hanzoai/openapi's driver from its `csharp` row (openapi-generator 7.14.0, httpclient library). Published as `Hanzo` on nuget.org, namespace Hanzo.AI. The repo owns the csproj, Gateway.cs (endpoint, bearer and X-Org-Id from the environment), seven wire tests against a stub transport, and the six flows every Hanzo SDK carries. hanzo.yml gates all three and puts the repo on the client lane; release.yml pushes a version nuget.org does not yet serve. scripts/dotnet installs a .NET 10 SDK where a runner has none.
19 lines
583 B
XML
19 lines
583 B
XML
<!-- The six flows every Hanzo SDK owes (hanzoai/openapi flows.yaml), compiled
|
|
against the client they demonstrate. Run one: dotnet run, then the flow name. -->
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<RollForward>Major</RollForward>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
<RootNamespace>Hanzo.AI.Examples</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../src/Hanzo.AI/Hanzo.AI.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|