Skip to content

Commit 07aa8b9

Browse files
georgeglarsonclaude
andcommitted
fix: update Venice API schema URL to docs.venice.ai/swagger.yaml
The old endpoint (api.venice.ai/api/openapi.json) returns 404, causing the scheduled Update API Schema workflow to fail with exit code 22. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d12e307 commit 07aa8b9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Fetch latest OpenAPI schema
2020
run: |
2121
mkdir -p docs/api
22-
curl -fsSL https://api.venice.ai/api/openapi.json -o docs/api/openapi.yaml
22+
curl -fsSL https://docs.venice.ai/swagger.yaml -o docs/api/openapi.yaml
2323
2424
- name: Check for changes
2525
id: check

docs/api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The schema is updated automatically via GitHub Actions, but you can also update
4343
./scripts/update-api-schema.sh
4444
```
4545

46-
This downloads the latest OpenAPI schema from `https://api.venice.ai/api/openapi.json` and saves it to this directory.
46+
This downloads the latest OpenAPI schema from `https://docs.venice.ai/swagger.yaml` and saves it to this directory.
4747

4848
## API Endpoints
4949

scripts/update-api-schema.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
set -e
66

7-
SCHEMA_URL="https://api.venice.ai/api/openapi.json"
7+
SCHEMA_URL="https://docs.venice.ai/swagger.yaml"
88
SCHEMA_FILE="docs/api/openapi.yaml"
99

1010
echo "🔄 Fetching latest Venice API schema..."

0 commit comments

Comments
 (0)