Skip to content

Commit ee59205

Browse files
authored
feat: bump docs to latest version of api spec and add changelog (#924)
* feat: bump docs to latest version of api spec and add changelog * fix: add changelog generation prompt * fix links one has to be added manually * fix * fix * fix override * fix placement * fix: add v1 voices to legacy section * fix fmt * fix to list voices v2
1 parent 4c9231b commit ee59205

File tree

6 files changed

+1051
-157
lines changed

6 files changed

+1051
-157
lines changed

.github/scripts/check_links.py

+2
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,8 @@ def validate_links(docs_dir, valid_paths, api_reference_paths):
553553

554554
special_case_paths = {
555555
"/docs/conversational-ai/api-reference/conversational-ai/websocket",
556+
"/docs/api-reference/phone-numbers/twilio-outbound-call",
557+
"/docs/api-reference/phone-numbers/create-phone-number"
556558
} #todo angelo: fix code so we can remove this
557559
valid_paths.update(special_case_paths)
558560

changelog-prompt.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
you are a world class developer experience engineer, tasked with writing a technical changelog update.
2+
3+
please create a new changelog entry in the same style as the others @2025-03-17.md @2025-03-10.md based on the following information, the docs pages of the endpoints are defined in @docs.yml.
4+
5+
here are the api spec updates.
6+
7+
[openapi diff]
8+
9+
here are the summaries of the PRs to add
10+
11+
[PRs to add]
12+

fern/apis/api/openapi-overrides.yml

+8
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,13 @@ paths:
235235
parameters:
236236
- {} # public_user_id
237237
- description: ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/get-all) endpoint list all the available voices.
238+
/v2/voices:
239+
get:
240+
summary: List voices
238241
/v1/voices:
239242
get:
240243
summary: List voices
244+
deprecated: true
241245
/v1/voice-generation/generate-voice/parameters:
242246
get:
243247
x-fern-ignore: true
@@ -446,6 +450,10 @@ paths:
446450
get:
447451
x-fern-audiences:
448452
- convai
453+
/v1/convai/twilio/outbound_call:
454+
post:
455+
x-fern-audiences:
456+
- convai
449457
/v1/convai/knowledge-base:
450458
get:
451459
x-fern-audiences:

0 commit comments

Comments
 (0)