From 9de2747982d654e7d73769be54bab7f371fc48ca Mon Sep 17 00:00:00 2001 From: Max Strivens <74908625+mstrivens@users.noreply.github.com> Date: Mon, 20 Jul 2026 18:26:49 +0100 Subject: [PATCH] fix: resolve dangling StepLogPartial $ref breaking SDK generation Generation was failing validation with: ERROR resolution-json-schema - not found -- key StepLogPartial not found in sequencedmap.Map UnifiedLogsPartialLegacy.properties.step_requests.items refs #/components/schemas/StepLogPartial, which is not defined anywhere in stackone.json. Upstream renamed the schema to StepLogPartialLegacy but missed this reference. Confirmed the rename rather than guessing: the property set in the previously-generated stackone-client-typescript StepLogPartial model (request_id, http_method, is_worker, sub_resource, ...) is an exact match for today's StepLogPartialLegacy. Retargets the ref via overlay, matching the existing ActionsRpcResponse workaround in this file. The real fix belongs in the OAS producer. Verified locally with speakeasy 1.638.0: validation passes and the SDK generates successfully. Co-Authored-By: Claude Opus 4.8 (1M context) --- .speakeasy/ruby-modifications-overlay.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.speakeasy/ruby-modifications-overlay.yaml b/.speakeasy/ruby-modifications-overlay.yaml index af55fd07a..9d1a2f31e 100644 --- a/.speakeasy/ruby-modifications-overlay.yaml +++ b/.speakeasy/ruby-modifications-overlay.yaml @@ -13,6 +13,13 @@ actions: update: - type: integer + - target: "$.components.schemas.UnifiedLogsPartialLegacy.properties.step_requests.items" + description: >- + Retarget dangling $ref. Upstream renamed StepLogPartial -> StepLogPartialLegacy + but missed this reference, leaving it unresolvable. + update: + $ref: "#/components/schemas/StepLogPartialLegacy" + - target: "$.components.schemas" description: Add missing ActionsRpcResponse schema definition update: