We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58164e3 commit 727c12fCopy full SHA for 727c12f
.github/workflows/update-openapi.yml
@@ -14,16 +14,8 @@ jobs:
14
15
- name: Fetch OpenAPI specification
16
run: |
17
- curl -s https://api.vapi.ai/api-json > temp-openapi.json
18
-
19
- - name: Verify JSON validity
20
- run: |
21
- cat temp-openapi.json | jq . > /dev/null
22
- if [ $? -ne 0 ]; then
23
- echo "Error: Invalid JSON received from API endpoint"
24
- exit 1
25
- fi
26
- mv temp-openapi.json ./fern/apis/api/openapi.json
+ npm install -g fern-api
+ fern api update
27
28
- name: Check for changes
29
id: check_changes
0 commit comments