| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Alias endpoint-owned Client, AuthenticatedClient, Response and HTTPStatus imports while preserving generated model names and public SDK types. Cover resolved annotations, request execution and response identities in functional tests, and update generated fixtures and release notes.
| Back | FazBrowse Home | New Git URL |
Fixes #1423.
Schemas named Client, AuthenticatedClient, Response or HTTPStatus can shadow imports in generated endpoints, producing incorrect annotations or broken response handling. Bind endpoint-owned SDK symbols and HTTPStatus through private aliases, preserving user model names and public SDK types.
Functional regressions check resolved annotations, public exports, synchronous and asynchronous requests, parsed model and response wrapper identities, status codes and authenticated endpoint signatures, with Customer as a non-collision control. The generated fixture changes follow directly from the template aliases; a patch changeset is included.
Validation: 474 tests and 5 snapshots passed, plus lint, formatting and mypy. All 64 changed generated endpoint files are AST-equivalent after reversing the aliases and normalising import grouping/order.