Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add list path item with empty actions #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions spec/yaml/twilio_api_v2010.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10959,6 +10959,7 @@ paths:
or a Verified [outgoing caller id](https://www.twilio.com/docs/voice/api/outgoing-caller-ids)
for your account. If the `to` parameter is a phone number, `From`
must also be a phone number.
format: endpoint
type: string
MachineDetection:
description: 'Whether to detect if a human, answering machine, or
Expand Down Expand Up @@ -11118,6 +11119,7 @@ paths:
To:
description: The phone number, SIP address, or client identifier
to call.
format: endpoint
type: string
Trim:
description: 'Whether to trim any leading and trailing silence from
Expand All @@ -11128,6 +11130,7 @@ paths:
description: TwiML instructions for the call Twilio will use without
fetching Twiml from url parameter. If both `twiml` and `url` are
provided then `twiml` parameter will be ignored. Max 4000 characters.
format: twiml
type: string
Url:
description: The absolute URL that returns the TwiML instructions
Expand Down Expand Up @@ -13971,6 +13974,7 @@ paths:
description: TwiML instructions for the call Twilio will use without
fetching Twiml from url. Twiml and url parameters are mutually
exclusive
format: twiml
type: string
Url:
description: The absolute URL that returns the TwiML instructions
Expand Down Expand Up @@ -14382,6 +14386,7 @@ paths:
must also be a phone number. If `to` is sip address, this value
of `from` should be a username portion to be used to populate
the P-Asserted-Identity header that is passed to the SIP endpoint.
format: endpoint
type: string
JitterBufferSize:
description: 'Jitter buffer size for the connecting participant.
Expand Down Expand Up @@ -14505,6 +14510,7 @@ paths:
format (e.g., +16175551212). SIP addresses are formatted as `sip:[email protected]`.
Client identifiers are formatted `client:name`. [Custom parameters](https://www.twilio.com/docs/voice/api/conference-participant-resource#custom-parameters)
may also be specified.
format: endpoint
type: string
WaitMethod:
description: The HTTP method we should use to call `wait_url`. Can
Expand Down
10 changes: 10 additions & 0 deletions spec/yaml/twilio_autopilot_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,16 @@ paths:
- data
parent: /Assistants
pathType: instance
/v1/Assistants/{AssistantSid}/Dialogues:
description: 'TODO: Resource-level docs'
servers:
- url: https://autopilot.twilio.com
x-twilio:
defaultOutputProperties:
- sid
- data
parent: /Assistants
pathType: list
/v1/Assistants/{AssistantSid}/Dialogues/{Sid}:
description: 'TODO: Resource-level docs'
get:
Expand Down
26 changes: 26 additions & 0 deletions spec/yaml/twilio_bulkexports_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,32 @@ info:
version: 1.30.0
openapi: 3.0.1
paths:
/v1/Exports:
description: 'TODO: Resource-level docs'
servers:
- url: https://bulkexports.twilio.com
x-twilio:
defaultOutputProperties: []
pathType: list
/v1/Exports/Jobs:
description: 'TODO: Resource-level docs'
servers:
- url: https://bulkexports.twilio.com
x-twilio:
defaultOutputProperties:
- details
- email
- end_day
- estimated_completion_time
- friendly_name
- job_queue_position
- job_sid
- resource_type
- start_day
- webhook_method
- webhook_url
Comment on lines +231 to +242
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: These aren't needed for empty paths.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will remove these

parent: /Exports
pathType: list
/v1/Exports/Jobs/{JobSid}:
delete:
description: ''
Expand Down
11 changes: 11 additions & 0 deletions spec/yaml/twilio_chat_v3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,17 @@ info:
version: 1.30.0
openapi: 3.0.1
paths:
/v3/Services/{ServiceSid}/Channels:
description: A Channel resource represents a chat/conversation channel with an
ordered list of messages and a participant roster.
servers:
- url: https://chat.twilio.com
x-twilio:
defaultOutputProperties:
- sid
- unique_name
- friendly_name
pathType: list
/v3/Services/{ServiceSid}/Channels/{Sid}:
description: A Channel resource represents a chat/conversation channel with an
ordered list of messages and a participant roster.
Expand Down
8 changes: 8 additions & 0 deletions spec/yaml/twilio_events_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,14 @@ info:
version: 1.30.0
openapi: 3.0.1
paths:
/v1/Schemas:
description: Versioned Schema definitions for Event Types
servers:
- url: https://events.twilio.com
x-twilio:
defaultOutputProperties:
- id
pathType: list
/v1/Schemas/{Id}:
description: Versioned Schema definitions for Event Types
get:
Expand Down
12 changes: 12 additions & 0 deletions spec/yaml/twilio_pricing_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,18 @@ paths:
- price_unit
parent: /Voice
pathType: instance
/v1/Voice/Numbers:
description: Voice pricing for a specific phone number
servers:
- url: https://pricing.twilio.com
x-twilio:
defaultOutputProperties:
- country
- outbound_call_price
- inbound_call_price
- price_unit
parent: /Voice
pathType: list
/v1/Voice/Numbers/{Number}:
description: Voice pricing for a specific phone number
get:
Expand Down
21 changes: 21 additions & 0 deletions spec/yaml/twilio_pricing_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,16 @@ paths:
- country
- price_unit
pathType: instance
/v2/Trunking/Numbers:
description: Trunking pricing for a specific phone number
servers:
- url: https://pricing.twilio.com
x-twilio:
defaultOutputProperties:
- country
- inbound_call_price
- price_unit
pathType: list
/v2/Trunking/Numbers/{DestinationNumber}:
description: Trunking pricing for a specific phone number
get:
Expand Down Expand Up @@ -549,6 +559,17 @@ paths:
- price_unit
parent: /Voice
pathType: instance
/v2/Voice/Numbers:
description: Voice pricing for a specific phone number
servers:
- url: https://pricing.twilio.com
x-twilio:
defaultOutputProperties:
- country
- inbound_call_price
- price_unit
parent: /Voice
pathType: list
/v2/Voice/Numbers/{DestinationNumber}:
description: Voice pricing for a specific phone number
get:
Expand Down