Skip to content

Commit d58f796

Browse files
committed
make ServerMessage a discriminated union
1 parent 303c0f6 commit d58f796

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fern/apis/api/openapi.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52620,6 +52620,9 @@
5262052620
"properties": {
5262152621
"message": {
5262252622
"description": "These are all the messages that can be sent to your server before, after and during the call. Configure the messages you'd like to receive in `assistant.serverMessages`.\n\nThe server where the message is sent is determined by the following precedence order:\n\n1. `tool.server.url` (if configured, and only for \"tool-calls\" message)\n2. `assistant.serverUrl` (if configure)\n3. `phoneNumber.serverUrl` (if configured)\n4. `org.serverUrl` (if configured)",
52623+
"discriminator": {
52624+
"propertyName": "type"
52625+
},
5262352626
"oneOf": [
5262452627
{
5262552628
"$ref": "#/components/schemas/ServerMessageAssistantRequest",

0 commit comments

Comments
 (0)