"Kiota - yet another API client code generator or something actually useful?", Anton Boyko.pdf
fwdays
69 views
8 slides
Jul 20, 2024
Slide 1 of 8
1
2
3
4
5
6
7
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 ...
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 share my experience of using Kiota for automated client code generation for an API. I successfully used Kiota in an enterprise-grade healthcare project, an e-commerce startup, and a few productivity tools that were my pet projects. I will show how we created an API and then efficiently generated client libraries for different programming languages to connect to that API.
Size: 635.61 KB
Language: en
Added: Jul 20, 2024
Slides: 8 pages
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)