From cdd5e7fbb6f5ccba1e1fe9728249335b43cf96f9 Mon Sep 17 00:00:00 2001 From: Rafa Cardenas <253999660+rafa-stacks@users.noreply.github.com> Date: Thu, 19 Mar 2026 14:02:58 -0600 Subject: [PATCH] fix: pull stacks api yaml directly from github --- scripts/fetch-openapi-specs.mts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/scripts/fetch-openapi-specs.mts b/scripts/fetch-openapi-specs.mts index e42e8db6d..264a3b1ae 100644 --- a/scripts/fetch-openapi-specs.mts +++ b/scripts/fetch-openapi-specs.mts @@ -23,10 +23,6 @@ interface GitHubApiSpec { } const API_SPECS: ApiSpec[] = [ - { - name: 'stacks-blockchain', - url: 'https://stacks-blockchain-api.vercel.app/openapi.json', - }, { name: 'token-metadata', url: 'https://token-metadata-api.vercel.app/openapi.json', @@ -57,6 +53,13 @@ const GITHUB_API_SPECS: GitHubApiSpec[] = [ branch: 'develop', filePath: 'docs/rpc/openapi.yaml', }, + { + name: 'stacks-blockchain', + type: 'github', + repo: 'hirosystems/stacks-blockchain-api', + branch: 'master', + filePath: 'openapi.yaml', + }, ]; async function generatePlatformApiSpec(): Promise {