Data Model Driven Documentation
Make the specs and documentation website generated from pydantic data model/resulting OpenAPI spec or other (single) source of truth.
The idea is to maintain just a single specification and generate json schema, OpenAPI spec and documentation website from.
like zudoku is offering.