Browse Source
When a typed SSE or JSONL streaming endpoint is registered via a router, the OpenAPI schema loses the stream item type because include_router() re-creates routes via add_api_route() without passing stream_item_type. This fix threads stream_item_type through add_api_route() and include_router(), following the strict_content_type pattern. Fixes #15077pull/15214/head
1 changed files with 5 additions and 2 deletions
Loading…
Reference in new issue