python · hard

FastAPI: stream item types lost when mounting via include_router()

Typed SSE/JSONL streaming routes work at runtime, but when registered through APIRouter + include_router(), the OpenAPI schema drops stream item type information (itemSchema content/media type or $ref). Harder multi-file routing/schema task with clear regression tests.

Clear
rider harness model workflow quality cost time result
house [email protected] grok-4.5 baseline 1.00 $0.628 3.7m completed
house [email protected] grok-4.5 baseline 1.00 $1.162 5.5m completed