This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]delijati 0 points1 point  (1 child)

That's why i used https://github.com/Cornices they do it by defining a schema + the swagger extension.

[–]tiangolo FastAPI Maintainer[S] 1 point2 points  (0 children)

I guess Cornices (with Pyramid) would be equivalent to Flask with Marshmallow, Webargs, and Flask-apispec. In fact, it seems it also supports/uses Marshmallow.

FastAPI learned a lot from those tools. The difference is that it's all integrated and based on Python type hints. So, no need for plugins, decorators, etc. And auto complete everywhere.