When using FastAPI, using the debug tool bar makes it easier to fix bugs as it provides various tools.
pip install fastapi-debug-toolbar
if you want to see swagger document go to following url path as /docs and /redoc
http://0.0.0.0:8000/docs
http://0.0.0.0:8000/redoc
if you go to /docs page, you can see followings.
Look at the right side.
Unlike Django, FastAPI debug toolbar does not have history record for debug. It might be work only swagger activities.