Hacker News new | ask | show | jobs
by infocollector 632 days ago
Thanks for writing this! This nicely breaks it down into boxes that OpenAPI deals with.

I still think OpenAPI usage is a bit confusing in general. For example, I am still waiting for a better explanation of this diagram with relation to a choice of backend (Python WSGI) + frontend (JS) combinations. Perhaps someone here has a pointer for me to read?

1 comments

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
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/

+1 for fastAPI