Refactor routing internals into modular components with stable facade by rajratangm · Pull Request #15210 · fastapi/fastapi
and others added 2 commits
March 24, 2026 16:56Exercise IntEnum status normalization and Response return-annotation inference to keep routing refactor coverage at required threshold. Made-with: Cursor
Normalize request handler typing in routing utils and explicitly type APIRoute.response_field to satisfy mypy and ty hooks. Made-with: Cursor
Cover both sync and async wrapper paths in request_response to keep aggregate coverage at the repository fail-under threshold. Made-with: Cursor
Exercise get_request_handler legacy dependant signature and execute raw response helper to close remaining uncovered lines seen in coverage-combine. Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters