You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(generator): emit header params instead of silently dropping them
extract_parameters captured "in": "header" params but generate_method_body
bucketed only query/body/raw_body/path, so every header param was dropped at
emission: posts.create_post(x_request_id=...) was accepted and thrown away,
making the server's idempotency window unreachable from Python. BaseClient
also had no headers kwarg on _post.
Header dicts are emitted inline keyed on the verbatim wire name, so
x-request-id stays lowercase where _build_params would have camelCased it.
headers is threaded through _get/_aget/_post/_apost only, including the
separate httpx client built for multipart uploads; no PUT/PATCH/DELETE
operation declares a header param today.
Regenerates connect, ad_campaigns, phone_numbers, posts and
whatsapp_phone_numbers: 12 header params across those five were being
dropped, not just x-request-id.
Header params supplied via a component $ref (Idempotency-Key on 9 further
operations) are still discarded by the $ref branch of extract_parameters and
are left for a follow-up.
https://app.crisp.chat/website/20dea5d6-a684-4c80-b097-2258b0b41421/inbox/session_0aff04b5-6834-480a-ba49-f525956329db/
0 commit comments