Example of a generated GitHub SDK for .NET using OpenApiGeneratorDotNet
- Fully generated C# SDK based on official GitHub OpenAPI specification using OpenApiGenerator
- Same day update to support new features
- Updated and supported automatically if there are no breaking changes
using GitHub;
using var api = new GitHubApi();
api.AuthorizeUsingBearer(apiKey);
var result = await api.Chat.CreateChatCompletionAsync(
messages,
model: model,
tools: tools);
Priority place for bugs: https://github.com/HavenDV/OpenApiGenerator/issues
Priority place for ideas and general questions: https://github.com/HavenDV/OpenApiGenerator/discussions