From 5d5452e61ffcc3ee5f8df776d6c6850fd240fa81 Mon Sep 17 00:00:00 2001 From: Quentin David Date: Wed, 25 Mar 2026 14:42:38 +0100 Subject: [PATCH] chore(speakeasy): Avoid publishing twice and fix base openAPI --- .speakeasy/workflow.lock | 2 +- .speakeasy/workflow.yaml | 2 +- Justfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 767abe3875..511ec4fe6f 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -14,7 +14,6 @@ workflow: sources: stacks-source: inputs: - - location: ./releases/base.yaml - location: ./components/auth.openapi.yaml modelNamespace: auth - location: ./components/gateway.openapi.yaml @@ -33,6 +32,7 @@ workflow: modelNamespace: orchestration - location: ./components/reconciliation.openapi.yaml modelNamespace: reconciliation + - location: ./releases/base.yaml overlays: - location: ./releases/overlays/shared.overlay.yaml output: ./releases/build/generate.json diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index 9a547abf86..1be3f38d05 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -3,7 +3,6 @@ speakeasyVersion: latest sources: stacks-source: inputs: - - location: ./releases/base.yaml - location: ./components/auth.openapi.yaml modelNamespace: auth - location: ./components/gateway.openapi.yaml @@ -22,6 +21,7 @@ sources: modelNamespace: orchestration - location: ./components/reconciliation.openapi.yaml modelNamespace: reconciliation + - location: ./releases/base.yaml overlays: - location: ./releases/overlays/shared.overlay.yaml output: ./releases/build/generate.json diff --git a/Justfile b/Justfile index d932320f15..2aed198be2 100644 --- a/Justfile +++ b/Justfile @@ -36,7 +36,7 @@ prepend-paths: download-specs # Build the merged OpenAPI spec using Speakeasy build-openapi version="v0.0.0": prepend-paths mkdir -p releases/build - speakeasy run -s all + speakeasy run -s all --skip-upload-spec cd releases && sed -i'' -e 's/SDK_VERSION/{{version}}/g' build/generate.json # Generate event schemas