Our great sponsors
-
openapi-generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
One solution to this challenge is OpenAPI—a spec that allows you to write JSON or YML, which describes your API. You can then autogenerate clients and servers in different languages and guarantee that the client and server are in sync.
-
Adding in Github Actions will enable you to generate new clients on every commit. Let’s first look at the action and then break it down:
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
This is where FastAPI comes in. FastAPI is a python web framework with a lot of thoughtful features. One of my favorite features is that it will generate an OpenAPI spec from the code you write. For example, let’s use this app:
Related posts
- Announcing utoipa 3.0.0, one year anniversary release - Compile time OpenAPI library for Rust
- What is the recommended/preferred web architecture for web applications / services written in Go?
- The Three Steps of Building Design-First APIs in Kubernetes
- How to Build a GraphQL eCommerce App from Scratch
- New Tokio blog post: Announcing axum 0.6.0