Skip to content

Commit

Permalink
Update autogenerated API reference (#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliothsu authored Sep 19, 2023
1 parent 41d8027 commit 381bf46
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@
"tags": ["numbers"],
"summary": "Buy Number",
"operationId": "buy_number",
"requestBody": {
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/BuyPhoneNumberRequest" }
}
}
},
"responses": {
"200": {
"description": "Successful Response",
Expand All @@ -102,6 +109,14 @@
"schema": { "$ref": "#/components/schemas/PhoneNumber" }
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/HTTPValidationError" }
}
}
}
},
"security": [{ "HTTPBearer": [] }]
Expand Down Expand Up @@ -1439,6 +1454,11 @@
"enum": ["default", "off"],
"title": "Ivr Navigation Mode",
"default": "off"
},
"conversation_speed": {
"type": "number",
"title": "Conversation Speed",
"default": 1.0
}
},
"type": "object",
Expand Down Expand Up @@ -1542,6 +1562,11 @@
"enum": ["default", "off"],
"title": "Ivr Navigation Mode",
"default": "off"
},
"conversation_speed": {
"type": "number",
"title": "Conversation Speed",
"default": 1.0
}
},
"type": "object",
Expand Down Expand Up @@ -1668,6 +1693,13 @@
{ "$ref": "#/components/schemas/Undefined" }
],
"title": "Ivr Navigation Mode"
},
"conversation_speed": {
"anyOf": [
{ "type": "number" },
{ "$ref": "#/components/schemas/Undefined" }
],
"title": "Conversation Speed"
}
},
"type": "object",
Expand Down Expand Up @@ -1738,6 +1770,13 @@
"required": ["type"],
"title": "AzureVoiceUpdateParams"
},
"BuyPhoneNumberRequest": {
"properties": {
"area_code": { "type": "string", "title": "Area Code" }
},
"type": "object",
"title": "BuyPhoneNumberRequest"
},
"Call": {
"properties": {
"id": { "type": "string", "format": "uuid", "title": "Id" },
Expand Down Expand Up @@ -1910,6 +1949,11 @@
"enum": ["default", "off"],
"title": "Ivr Navigation Mode",
"default": "off"
},
"conversation_speed": {
"type": "number",
"title": "Conversation Speed",
"default": 1.0
}
},
"type": "object",
Expand Down Expand Up @@ -2210,6 +2254,11 @@
"enum": ["default", "off"],
"title": "Ivr Navigation Mode",
"default": "off"
},
"conversation_speed": {
"type": "number",
"title": "Conversation Speed",
"default": 1.0
}
},
"type": "object",
Expand Down

0 comments on commit 381bf46

Please sign in to comment.