-
If you havenβt yet, I highly recommend to check FastAPI for your python backend: https://fastapi.tiangolo.com/. OpenAPI is a core part of it, making it simple to integrate with other tools such as docs and clients generator
-
InfluxDB
InfluxDB β Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Or you can go straight to Starlette [0], which is much more streamlined to develop with. FastAPI is based on it itself, and while it provides many additional bells and whistles I find it messes things up significantly.
[0] https://www.starlette.io/
-
OpenAPI is great, we use it in combination with redoc (https://github.com/Redocly/redoc) to have a almost 0 effort API for our product.
But man, my tokenizer is in trouble with OpenAPI and OpenAI.
-
The code generators for OpenAPI are rarely good compared to what you find in GraphQL in my experience. The Swagger Generator / OpenAPI Generator (why the fork...) that is the "standard" is kinda of a mess.
In rust Oxide had to write their own [1] which is actually decent, but you really need to know it exists.
[1] https://github.com/oxidecomputer/progenitor
-
You might like zod-openapi (https://github.com/samchungy/zod-openapi). You write Zod schemas which, on their own, are a great way to define a validation and de/serialization layer in your API and you then can additionally use them to generate an OpenAPI doc.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Related posts
-
Python REST APIs With Flask, Connexion, and SQLAlchemy β Part 1 β Real Python
-
βοΈ Go Tools: Code Generation from OpenAPI Specs in Go with oapi-codegen
-
Looking back at `oapi-codegen`'s last year
-
openapi-fetch-gen β Generate TypeScript API client from OpenAPI TypeScript interface definitions created by openapi-typescript
-
Automated Documentation for APIs