RepoMicrosoftMicrosoftpublished Dec 22, 2020seen 1d

microsoft/kiota

C#

Open original ↗

Captured source

source ↗
published Dec 22, 2020seen 1dcaptured 14hhttp 200method plain

microsoft/kiota

Description: OpenAPI based HTTP Client code generator

Language: C#

License: MIT

Stars: 3764

Forks: 319

Open issues: 195

Created: 2020-12-22T15:35:49Z

Pushed: 2026-06-10T12:24:41Z

Default branch: main

Fork: no

Archived: no

README:

Project

![Dotnet](https://github.com/microsoft/kiota/actions/workflows/dotnet.yml) ![CodeQL](https://github.com/microsoft/kiota/actions/workflows/codeql-analysis.yml) ![Coverage](https://sonarcloud.io/dashboard?id=microsoft_kiota) ![Sonarcloud Status](https://sonarcloud.io/dashboard?id=microsoft_kiota)

Kiota is a command line tool for generating an API client to call any OpenAPI described API you are interested in. The goal is to eliminate the need to take a dependency on a different API SDK for every API that you need to call. Kiota API clients provide a strongly typed experience with all the features you expect from a high quality API SDK, but without having to learn a new library for every HTTP API.

This library builds on top of the Microsoft.OpenAPI.NET library to ensure comprehensive support for APIs that use OpenAPI descriptions. One of the goals of the project is to provide the best code generator support possible for OpenAPI and JSON Schema features. The conceptual documentation describes how kiota works and the high level concepts, this readme documents how to get started with Kiota.

Getting started

Generating SDKs

1. Install required tools and dependencies. (refer to the [Supported Languages](#supported-languages) table under the Required tools & dependencies column) 1. Get Kiota using one of the available options. 1. Generate your API client, checkout the Parameters reference for the different options. 1. Start calling your API using your fluent API Client.

Supported languages

The following table provides an overview of the languages supported by Kiota and the progress in the implementation of the different components.

| Language | Generation | Abstractions | Serialization | Authentication | HTTP | Required tools & dependencies | | -------- | ---------- |--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -------------- | ---- | -------------- | | CSharp | ✔ | | FORM, JSON, MULTIPART, TEXT | Anonymous, API Key, Azure | | link | | Dart | 🛠️ | 🛠️ | 🛠️ FORM, 🛠️ JSON, 🛠️ MULTIPART, 🛠️ TEXT | 🛠️ Anonymous, 🛠️ API Key | 🛠️ | link | | Go | ✔ | | FORM, JSON, MULTIPART, TEXT | Anonymous, API Key, Azure | | link | | Java | ✔ | | FORM, JSON, MULTIPART, TEXT |…

Excerpt shown — open the source for the full document.

Notability

Skeptical of code generation, prefer type-only approaches and better developer experience.