AntiPattern
Hidden Input Schema Drift
schema-exclusion-drift
FastAPI/Pydantic serialization and validation break when the API schema tries to “exclude” fields by annotation-level tricks or type reuse; hidden/private fields and server-side generation are needed or you get missing/doubled fields and wrong payload shapes.