AntiPattern
Framework Abstraction Misbinding
framework-abstraction-misbinding
FastAPI handler and routing code get wired to the wrong abstraction boundary—wrong response class defaults, misapplied response_class, or overusing mixins—leading to inconsistent runtime behavior and hard-to-debug API semantics.