"Kiota - yet another API client code generator or something actually useful?", Anton Boyko.pdf

fwdays 69 views 8 slides Jul 20, 2024
Slide 1
Slide 1 of 8
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8

About This Presentation

I don't like many things in general, one of which is creating and maintaining a client library for an API. It's not because it's complicated but because it draws my attention away from other parts of the project where I can do more valuable and exciting stuff.

During my session, I will ...


Slide Content

Real life example
Identity API
Notification
API
Workflow
engine
Client
Web App
Admin
Web App
CLIDelivery API
Management
API
Reccomendations API

Real life example
.NET
JSPython

Kiota – what and why?
What?
Kiotais a command line tool for generating an API client to call any OpenAPI-described API.
Why?
The goal is to eliminate the need to take a dependency on a different API client library 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.
https://github.com/microsoft/kiota

Installing
https://learn.microsoft.com/openapi/kiota/install
Download binariesRun in DockerInstall as .NET toolBuild from source
Install the Visual
Studio Code
extension (preview)
Run in GitHub Actions
(preview)
Install with asdf
(UNOFFICIAL)
Install with
Homebrew
(UNOFFICIAL)
REST API Client Code
Generator extension
for Visual Studio
(UNOFFICIAL)

Using