(fix): Only copy custom_pagination.py into generated SDKs when custom pagination endpoints
are present, and only copy pagination.py when standard pagination endpoints are present.
(feat): Add custom_transport: true generator config option that exposes an http_client parameter
on generated client constructors for custom httpx transport injection.
Primary use case: Enables PKCE (Proof Key for Code Exchange) OAuth flows and other authentication schemes that require request interception at the transport layer.
Configuration:
Generated parameter types:
http_client: typing.Optional[httpx.BaseTransport]http_client: typing.Optional[httpx.AsyncBaseTransport]Use cases:
Example pattern (Twilio SDK style):
This feature allows SDK developers to defer transport-specific logic to custom code while
the generator simply threads the transport through to httpx.Client/httpx.AsyncClient.