Skip to content

Commit

Permalink
SWI-5934 Update to Generator v7.8.0 (#147)
Browse files Browse the repository at this point in the history
* SWI-5943 Update to Generator v7.8.0

* update tests
  • Loading branch information
ckoegel authored Aug 20, 2024
1 parent 5d9dffa commit 1369097
Show file tree
Hide file tree
Showing 113 changed files with 186 additions and 178 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.7.0
7.8.0
2 changes: 1 addition & 1 deletion bandwidth-sdk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down
2 changes: 1 addition & 1 deletion lib/bandwidth-sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down
12 changes: 6 additions & 6 deletions lib/bandwidth-sdk/api/calls_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -57,7 +57,7 @@ def create_call_with_http_info(account_id, create_call, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -131,7 +131,7 @@ def get_call_state_with_http_info(account_id, call_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -223,7 +223,7 @@ def list_calls_with_http_info(account_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -298,7 +298,7 @@ def update_call_with_http_info(account_id, call_id, update_call, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -378,7 +378,7 @@ def update_call_bxml_with_http_info(account_id, call_id, body, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/xml'])
if !content_type.nil?
Expand Down
20 changes: 10 additions & 10 deletions lib/bandwidth-sdk/api/conferences_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -63,7 +63,7 @@ def download_conference_recording_with_http_info(account_id, conference_id, reco
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['audio/vnd.wave', 'audio/mpeg', 'application/json'])
header_params['Accept'] = @api_client.select_header_accept(['audio/vnd.wave', 'audio/mpeg', 'application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -132,7 +132,7 @@ def get_conference_with_http_info(account_id, conference_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -207,7 +207,7 @@ def get_conference_member_with_http_info(account_id, conference_id, member_id, o
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -282,7 +282,7 @@ def get_conference_recording_with_http_info(account_id, conference_id, recording
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -351,7 +351,7 @@ def list_conference_recordings_with_http_info(account_id, conference_id, opts =
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -437,7 +437,7 @@ def list_conferences_with_http_info(account_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -512,7 +512,7 @@ def update_conference_with_http_info(account_id, conference_id, update_conferenc
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -592,7 +592,7 @@ def update_conference_bxml_with_http_info(account_id, conference_id, body, opts
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/xml'])
if !content_type.nil?
Expand Down Expand Up @@ -678,7 +678,7 @@ def update_conference_member_with_http_info(account_id, conference_id, member_id
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down
10 changes: 5 additions & 5 deletions lib/bandwidth-sdk/api/media_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -57,7 +57,7 @@ def delete_media_with_http_info(account_id, media_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -126,7 +126,7 @@ def get_media_with_http_info(account_id, media_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream', 'application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream', 'application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down Expand Up @@ -191,7 +191,7 @@ def list_media_with_http_info(account_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
header_params[:'Continuation-Token'] = opts[:'continuation_token'] if !opts[:'continuation_token'].nil?

# form parameters
Expand Down Expand Up @@ -271,7 +271,7 @@ def upload_media_with_http_info(account_id, media_id, body, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json', 'application/ogg', 'application/pdf', 'application/rtf', 'application/zip', 'application/x-tar', 'application/xml', 'application/gzip', 'application/x-bzip2', 'application/x-gzip', 'application/smil', 'application/javascript', 'audio/mp4', 'audio/mpeg', 'audio/ogg', 'audio/flac', 'audio/webm', 'audio/wav', 'audio/amr', 'audio/3gpp', 'image/bmp', 'image/gif', 'image/jpeg', 'image/pjpeg', 'image/png', 'image/svg+xml', 'image/tiff', 'image/webp', 'image/x-icon', 'text/css', 'text/csv', 'text/calendar', 'text/plain', 'text/javascript', 'text/vcard', 'text/vnd.wap.wml', 'text/xml', 'video/avi', 'video/mp4', 'video/mpeg', 'video/ogg', 'video/quicktime', 'video/webm', 'video/x-ms-wmv'])
if !content_type.nil?
Expand Down
6 changes: 3 additions & 3 deletions lib/bandwidth-sdk/api/messages_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -57,7 +57,7 @@ def create_message_with_http_info(account_id, message_request, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -170,7 +170,7 @@ def list_messages_with_http_info(account_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down
8 changes: 4 additions & 4 deletions lib/bandwidth-sdk/api/mfa_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -57,7 +57,7 @@ def generate_messaging_code_with_http_info(account_id, code_request, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -131,7 +131,7 @@ def generate_voice_code_with_http_info(account_id, code_request, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -205,7 +205,7 @@ def verify_code_with_http_info(account_id, verify_code_request, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down
6 changes: 3 additions & 3 deletions lib/bandwidth-sdk/api/phone_number_lookup_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The version of the OpenAPI document: 1.0.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
Generator version: 7.7.0
Generator version: 7.8.0
=end

Expand Down Expand Up @@ -57,7 +57,7 @@ def create_lookup_with_http_info(account_id, lookup_request, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
Expand Down Expand Up @@ -131,7 +131,7 @@ def get_lookup_status_with_http_info(account_id, request_id, opts = {})
# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']

# form parameters
form_params = opts[:form_params] || {}
Expand Down
Loading

0 comments on commit 1369097

Please sign in to comment.