Is there a way to apply a custom route_class
for every single APIRouter in your fastapi app? Similar to this, but instead of creating each APIRouter
instance passing the parameter, I’d like to apply that for all with a single declaration. I can’t seem to find how to do that in the docs.
Thanks in advance for any guidance.