Show HN: FastOpenAPI – automated docs for many Python frameworks
Published on: 2025-10-02 18:10:30
FastOpenAPI is a library for generating and integrating OpenAPI schemas using Pydantic and various frameworks.
This project was inspired by FastAPI and aims to provide a similar developer-friendly experience.
📦 Installation
Install only FastOpenAPI:
pip install fastopenapi
Install FastOpenAPI with a specific framework:
pip install fastopenapi[falcon]
pip install fastopenapi[flask]
pip install fastopenapi[sanic]
pip install fastopenapi[starlette]
pip install fastopenapi[tornado]
🛠️ Quick Start
Step 1. Create an application
Create the main.py file
file Copy the code from an example
For some examples uvicorn is required ( pip install uvicorn )
Click to expand the Falcon Example import falcon . asgi import uvicorn from pydantic import BaseModel from fastopenapi . routers import FalconRouter app = falcon . asgi . App () router = FalconRouter ( app = app ) class HelloResponse ( BaseModel ): message : str @ router . get ( "/hello" , tags = [ "Hello" ], status_code = 200 , resp
... Read full article.