Skip to content

Fix the API spec sync: fetch from the public docs site - #3

Open
Adron wants to merge 1 commit into
mainfrom
fix/api-spec-sync
Open

Adron wants to merge 1 commit into
mainfrom
fix/api-spec-sync

Conversation

@Adron

@Adron Adron commented Nov 30, 2026

Copy link
Copy Markdown
Member

The scheduled API spec sync has failed on every run since the API repository went private: gh api repos/CompositeCode/substratalapps.com/... returns 404 with this repository's GITHUB_TOKEN.

The same openapi.yaml is published at https://docs.substratalapps.com/openapi.yaml (the old compositecode.github.io/substratalapps.com URL now redirects there), so the workflow fetches it from there with no token. SOURCE.yaml and openapi/CHANGELOG.md record the source URL instead of an API commit, and PyYAML is installed explicitly instead of relying on the runner image.

Dry run against the live spec: it moves the pin from 1.0.0-draft.9 to 1.0.0-draft.36, with 33 operations added and none removed, so the app's API coverage check keeps passing. After this merges, the next run (or a manual run) opens that sync PR.

🤖 Generated with Claude Code

The API repository went private, so the sync's GitHub API calls with this
repository's token returned 404 and every scheduled run failed. The same
openapi.yaml is published at https://docs.substratalapps.com/openapi.yaml,
which needs no token. SOURCE.yaml and the changelog now record that URL
instead of an API commit. PyYAML is installed explicitly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant