Skip to content

Commit e7e5a3e

Browse files
authored
fix: pull stacks api yaml directly from github (#1138)
1 parent 4463117 commit e7e5a3e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

scripts/fetch-openapi-specs.mts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ interface GitHubApiSpec {
2323
}
2424

2525
const API_SPECS: ApiSpec[] = [
26-
{
27-
name: 'stacks-blockchain',
28-
url: 'https://stacks-blockchain-api.vercel.app/openapi.json',
29-
},
3026
{
3127
name: 'token-metadata',
3228
url: 'https://token-metadata-api.vercel.app/openapi.json',
@@ -57,6 +53,13 @@ const GITHUB_API_SPECS: GitHubApiSpec[] = [
5753
branch: 'develop',
5854
filePath: 'docs/rpc/openapi.yaml',
5955
},
56+
{
57+
name: 'stacks-blockchain',
58+
type: 'github',
59+
repo: 'hirosystems/stacks-blockchain-api',
60+
branch: 'master',
61+
filePath: 'openapi.yaml',
62+
},
6063
];
6164

6265
async function generatePlatformApiSpec(): Promise<void> {

0 commit comments

Comments
 (0)