Skip to content

Commit b86c421

Browse files
authored
Merge branch 'main' into update-ended-reasons-doc
2 parents 84badc3 + bb656ec commit b86c421

File tree

8 files changed

+12579
-8149
lines changed

8 files changed

+12579
-8149
lines changed

.github/workflows/update-openapi.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,8 @@ jobs:
1414

1515
- name: Fetch OpenAPI specification
1616
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
17+
npm install -g fern-api
18+
fern api update
2719
2820
- name: Check for changes
2921
id: check_changes

fern/apis/api/generators.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ groups:
2828
ts-sdk:
2929
generators:
3030
- name: fernapi/fern-typescript-node-sdk
31-
version: 0.42.7
31+
version: 0.49.3
3232
disable-examples: true
3333
api:
3434
settings:

0 commit comments

Comments
 (0)