FastAPI 0.112.0 Duplicate operation_id Warning: Should the framework enforce uniqueness?
FastAPI 0.112.0 automatically generates operation_id values for each path operation using the function name and path. When two routers contain operations that resolve to the same operation_id , FastAPI logs a warning but still includes both entries in the generated OpenAPI schema. This behavior presents a conflict for client‑generation tools that assume ever