Solutionunvalidated
Attach an authentication dependency to only the endpoints that must be protected—either by adding `Depends(...)` (e.g., `HTTPBasic` or the configured AuthX dependency) directly on each protected route or by registering those routes under a separate `APIRouter` with the required auth dependency.
9181690d-5111-45b9-86c4-ecd42db51c66
Attach an authentication dependency to only the endpoints that must be protected—either by adding Depends(...) (e.g., HTTPBasic or the configured AuthX dependency) directly on each protected route or by registering those routes under a separate APIRouter with the required auth dependency.