Skip to content

Commit

Permalink
SWI-6060 Update SDK Based on Recent Spec Changes (#149)
Browse files Browse the repository at this point in the history
* Generate SDK with OpenAPI Generator Version 7.8.0

* Clean SDK using Rubocop

---------

Co-authored-by: DX-Bandwidth <[email protected]>
  • Loading branch information
band-swi[bot] and DX-Bandwidth authored Sep 3, 2024
1 parent 1369097 commit 15690f5
Showing 1 changed file with 27 additions and 19 deletions.
46 changes: 27 additions & 19 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ paths:
$ref: '#/components/requestBodies/updateCallRequest'
responses:
'200':
description: Call was successfully modified.
$ref: '#/components/responses/updateCallResponse'
'400':
$ref: '#/components/responses/voiceBadRequestError'
'401':
Expand Down Expand Up @@ -777,7 +777,7 @@ paths:
$ref: '#/components/requestBodies/updateCallRecordingRequest'
responses:
'200':
description: Recording state was successfully modified.
$ref: '#/components/responses/updateRecordingResponse'
'400':
$ref: '#/components/responses/voiceBadRequestError'
'401':
Expand Down Expand Up @@ -1324,7 +1324,7 @@ paths:
'403':
$ref: '#/components/responses/tnLookupForbiddenError'
'404':
description: Not Found
$ref: '#/components/responses/tnLookupNotFoundError'
'429':
$ref: '#/components/responses/tnLookupTooManyRequestsError'
'500':
Expand Down Expand Up @@ -2919,6 +2919,7 @@ components:
$ref: '#/components/schemas/conferenceId'
memberUrl:
type: string
format: uri
description: >-
A URL that may be used to retrieve information about or update
Expand Down Expand Up @@ -4276,6 +4277,7 @@ components:
example: my-recording-name
callUrl:
type: string
format: uri
description: The URL of the call associated with the event.
example: >-
https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
Expand Down Expand Up @@ -4735,7 +4737,7 @@ components:
schema:
$ref: '#/components/schemas/messagingRequestError'
createCallResponse:
description: Call Successfully Created
description: Created
headers:
Location:
description: The URL for further interactions with this call
Expand All @@ -4749,41 +4751,45 @@ components:
createCall Response:
$ref: '#/components/examples/createCallResponseExample'
getCallStateResponse:
description: Call found
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/callState'
updateCallResponse:
description: OK
listCallsResponse:
description: Calls retrieved successfully
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/callState'
getStatisticsResponse:
description: Statistics Found
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/accountStatistics'
updateRecordingResponse:
description: OK
listCallRecordingsResponse:
description: Recordings retrieved successfully
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/callRecordingMetadata'
getCallRecordingResponse:
description: Recording found
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/callRecordingMetadata'
downloadRecordingMediaResponse:
description: Media found
description: OK
content:
audio/vnd.wave:
schema:
Expand All @@ -4794,27 +4800,27 @@ components:
type: string
format: binary
getRecordingTranscriptionResponse:
description: Transcription found.
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/recordingTranscriptions'
listTranscriptionsResponse:
description: Transcription found.
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/callTranscriptionMetadataList'
getCallTranscriptionResponse:
description: Transcription found.
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/callTranscriptionResponse'
deleteCallTranscriptionResponse:
description: Transcription data was deleted.
description: No Content
listConferencesResponse:
description: Conferences retrieved successfully
description: OK
content:
application/json:
schema:
Expand All @@ -4825,27 +4831,27 @@ components:
listConferences Response:
$ref: '#/components/examples/listConferencesResponseExample'
getConferenceResponse:
description: Conferences retrieved successfully
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/conference'
getConferenceMemberResponse:
description: Conference member found
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/conferenceMember'
listConferenceRecordingsResponse:
description: Conference recordings retrieved successfully
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/conferenceRecordingMetadata'
getConferenceRecordingResponse:
description: Conference recording found
description: OK
content:
application/json:
schema:
Expand Down Expand Up @@ -5068,6 +5074,8 @@ components:
summary: Example Unsupported Media Type Error
value:
message: Content-Type must be application/json.
tnLookupNotFoundError:
description: Not Found
tnLookupTooManyRequestsError:
description: Too Many Requests
content:
Expand Down

0 comments on commit 15690f5

Please sign in to comment.