Skip to content

Commit 28a913f

Browse files
committed
swagger spec and runtime
1 parent 35ccabd commit 28a913f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/update-api-spec.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,25 +79,25 @@ jobs:
7979
gh pr create \
8080
--title "🔄 Update API Specification - $(date +%Y-%m-%d)" \
8181
--body "## 📋 Summary
82-
82+
8383
This PR updates the API specification with the latest changes from the live Checkly API endpoint.
84-
84+
8585
## 🔄 Changes
86-
86+
8787
- Updated \`api-reference/openapi.json\` from https://api.checklyhq.com/swagger.json
8888
- Converted from Swagger 2.0 to OpenAPI 3.0 format
8989
- Validated specification with Mintlify
90-
90+
9191
## 🤖 Automation
92-
92+
9393
This PR was automatically created by the \`update-api-spec.yml\` GitHub Action that runs every 48 hours.
94-
94+
9595
## ✅ Validation
96-
96+
9797
The updated specification has been validated and is compatible with Mintlify documentation." \
9898
--head "$BRANCH_NAME" \
9999
--base main \
100-
--label "documentation,api,automated"
100+
--label "documentation"
101101
102102
- name: Report no changes
103103
if: env.spec_changed == 'false'

.github/workflows/update-runtime-spec.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
}
7979
8080
async function updateRuntimeSpecFile(generatedContent) {
81-
const filePath = path.join(process.cwd(), 'docs/platform/runtimes/runtime-specification.mdx');
81+
const filePath = path.join(process.cwd(), 'platform/runtimes/runtime-specification.mdx');
8282
8383
try {
8484
const fileContent = fs.readFileSync(filePath, 'utf8');
@@ -135,7 +135,7 @@ jobs:
135135
run: |
136136
git config --local user.email "[email protected]"
137137
git config --local user.name "GitHub Action"
138-
git add docs/platform/runtimes/runtime-specification.mdx
138+
git add platform/runtimes/runtime-specification.mdx
139139
git commit -m "🤖 Update runtime specification
140140
141141
🤖 Generated with [Claude Code](https://claude.ai/code)

0 commit comments

Comments
 (0)