It advertises "Built-in REST framework with JSON serialization" in the readme, that's why I asked.
Looks like it also supports some kind of models for JSON validation [0], it shouldn't be too hard to generate Swagger from them, just like FastAPI generates Swagger from Pydantic models.