From 3ac3d26f571dfc18e58f966b0b65ef442e83dfb3 Mon Sep 17 00:00:00 2001 From: Robert Jackson Date: Tue, 3 Jun 2025 17:22:25 -0400 Subject: [PATCH] feat: Add a local-debug target (to make for easier debugging) With this you can make small tweaks to the OpenAPI spec and then run the following to see the impact: ``` speakeasy run --skip-testing --skip-upload-spec --skip-versioning --target=local-debug ``` --- .speakeasy/workflow.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 79eee6b6..7371b060 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -5,6 +5,11 @@ sources: inputs: - location: registry.speakeasyapi.dev/glean-el2/sdk/glean-api-specs output: .speakeasy/glean-merged-spec.yaml + local-debug: + inputs: + - location: .speakeasy/glean-merged-spec.yaml + registry: + location: registry.speakeasyapi.dev/glean-el2/sdk/local-debug targets: glean: target: python @@ -20,3 +25,12 @@ targets: blocking: false testing: enabled: true + local-debug: + target: python + source: local-debug + codeSamples: + labelOverride: + fixedValue: Python (API Client) + blocking: false + testing: + enabled: true