Skip to content

Commit 1369097

Browse files
authored
SWI-5934 Update to Generator v7.8.0 (#147)
* SWI-5943 Update to Generator v7.8.0 * update tests
1 parent 5d9dffa commit 1369097

File tree

113 files changed

+186
-178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+186
-178
lines changed

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.7.0
1+
7.8.0

bandwidth-sdk.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
The version of the OpenAPI document: 1.0.0
99
1010
Generated by: https://openapi-generator.tech
11-
Generator version: 7.7.0
11+
Generator version: 7.8.0
1212
1313
=end
1414

lib/bandwidth-sdk.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The version of the OpenAPI document: 1.0.0
77
88
Generated by: https://openapi-generator.tech
9-
Generator version: 7.7.0
9+
Generator version: 7.8.0
1010
1111
=end
1212

lib/bandwidth-sdk/api/calls_api.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The version of the OpenAPI document: 1.0.0
77
88
Generated by: https://openapi-generator.tech
9-
Generator version: 7.7.0
9+
Generator version: 7.8.0
1010
1111
=end
1212

@@ -57,7 +57,7 @@ def create_call_with_http_info(account_id, create_call, opts = {})
5757
# header parameters
5858
header_params = opts[:header_params] || {}
5959
# HTTP header 'Accept' (if needed)
60-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
60+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
6161
# HTTP header 'Content-Type'
6262
content_type = @api_client.select_header_content_type(['application/json'])
6363
if !content_type.nil?
@@ -131,7 +131,7 @@ def get_call_state_with_http_info(account_id, call_id, opts = {})
131131
# header parameters
132132
header_params = opts[:header_params] || {}
133133
# HTTP header 'Accept' (if needed)
134-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
134+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
135135

136136
# form parameters
137137
form_params = opts[:form_params] || {}
@@ -223,7 +223,7 @@ def list_calls_with_http_info(account_id, opts = {})
223223
# header parameters
224224
header_params = opts[:header_params] || {}
225225
# HTTP header 'Accept' (if needed)
226-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
226+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
227227

228228
# form parameters
229229
form_params = opts[:form_params] || {}
@@ -298,7 +298,7 @@ def update_call_with_http_info(account_id, call_id, update_call, opts = {})
298298
# header parameters
299299
header_params = opts[:header_params] || {}
300300
# HTTP header 'Accept' (if needed)
301-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
301+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
302302
# HTTP header 'Content-Type'
303303
content_type = @api_client.select_header_content_type(['application/json'])
304304
if !content_type.nil?
@@ -378,7 +378,7 @@ def update_call_bxml_with_http_info(account_id, call_id, body, opts = {})
378378
# header parameters
379379
header_params = opts[:header_params] || {}
380380
# HTTP header 'Accept' (if needed)
381-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
381+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
382382
# HTTP header 'Content-Type'
383383
content_type = @api_client.select_header_content_type(['application/xml'])
384384
if !content_type.nil?

lib/bandwidth-sdk/api/conferences_api.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The version of the OpenAPI document: 1.0.0
77
88
Generated by: https://openapi-generator.tech
9-
Generator version: 7.7.0
9+
Generator version: 7.8.0
1010
1111
=end
1212

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

6868
# form parameters
6969
form_params = opts[:form_params] || {}
@@ -132,7 +132,7 @@ def get_conference_with_http_info(account_id, conference_id, opts = {})
132132
# header parameters
133133
header_params = opts[:header_params] || {}
134134
# HTTP header 'Accept' (if needed)
135-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
135+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
136136

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

212212
# form parameters
213213
form_params = opts[:form_params] || {}
@@ -282,7 +282,7 @@ def get_conference_recording_with_http_info(account_id, conference_id, recording
282282
# header parameters
283283
header_params = opts[:header_params] || {}
284284
# HTTP header 'Accept' (if needed)
285-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
285+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
286286

287287
# form parameters
288288
form_params = opts[:form_params] || {}
@@ -351,7 +351,7 @@ def list_conference_recordings_with_http_info(account_id, conference_id, opts =
351351
# header parameters
352352
header_params = opts[:header_params] || {}
353353
# HTTP header 'Accept' (if needed)
354-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
354+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
355355

356356
# form parameters
357357
form_params = opts[:form_params] || {}
@@ -437,7 +437,7 @@ def list_conferences_with_http_info(account_id, opts = {})
437437
# header parameters
438438
header_params = opts[:header_params] || {}
439439
# HTTP header 'Accept' (if needed)
440-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
440+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
441441

442442
# form parameters
443443
form_params = opts[:form_params] || {}
@@ -512,7 +512,7 @@ def update_conference_with_http_info(account_id, conference_id, update_conferenc
512512
# header parameters
513513
header_params = opts[:header_params] || {}
514514
# HTTP header 'Accept' (if needed)
515-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
515+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
516516
# HTTP header 'Content-Type'
517517
content_type = @api_client.select_header_content_type(['application/json'])
518518
if !content_type.nil?
@@ -592,7 +592,7 @@ def update_conference_bxml_with_http_info(account_id, conference_id, body, opts
592592
# header parameters
593593
header_params = opts[:header_params] || {}
594594
# HTTP header 'Accept' (if needed)
595-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
595+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
596596
# HTTP header 'Content-Type'
597597
content_type = @api_client.select_header_content_type(['application/xml'])
598598
if !content_type.nil?
@@ -678,7 +678,7 @@ def update_conference_member_with_http_info(account_id, conference_id, member_id
678678
# header parameters
679679
header_params = opts[:header_params] || {}
680680
# HTTP header 'Accept' (if needed)
681-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
681+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
682682
# HTTP header 'Content-Type'
683683
content_type = @api_client.select_header_content_type(['application/json'])
684684
if !content_type.nil?

lib/bandwidth-sdk/api/media_api.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The version of the OpenAPI document: 1.0.0
77
88
Generated by: https://openapi-generator.tech
9-
Generator version: 7.7.0
9+
Generator version: 7.8.0
1010
1111
=end
1212

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

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

131131
# form parameters
132132
form_params = opts[:form_params] || {}
@@ -191,7 +191,7 @@ def list_media_with_http_info(account_id, opts = {})
191191
# header parameters
192192
header_params = opts[:header_params] || {}
193193
# HTTP header 'Accept' (if needed)
194-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
194+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
195195
header_params[:'Continuation-Token'] = opts[:'continuation_token'] if !opts[:'continuation_token'].nil?
196196

197197
# form parameters
@@ -271,7 +271,7 @@ def upload_media_with_http_info(account_id, media_id, body, opts = {})
271271
# header parameters
272272
header_params = opts[:header_params] || {}
273273
# HTTP header 'Accept' (if needed)
274-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
274+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
275275
# HTTP header 'Content-Type'
276276
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'])
277277
if !content_type.nil?

lib/bandwidth-sdk/api/messages_api.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The version of the OpenAPI document: 1.0.0
77
88
Generated by: https://openapi-generator.tech
9-
Generator version: 7.7.0
9+
Generator version: 7.8.0
1010
1111
=end
1212

@@ -57,7 +57,7 @@ def create_message_with_http_info(account_id, message_request, opts = {})
5757
# header parameters
5858
header_params = opts[:header_params] || {}
5959
# HTTP header 'Accept' (if needed)
60-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
60+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
6161
# HTTP header 'Content-Type'
6262
content_type = @api_client.select_header_content_type(['application/json'])
6363
if !content_type.nil?
@@ -170,7 +170,7 @@ def list_messages_with_http_info(account_id, opts = {})
170170
# header parameters
171171
header_params = opts[:header_params] || {}
172172
# HTTP header 'Accept' (if needed)
173-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
173+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
174174

175175
# form parameters
176176
form_params = opts[:form_params] || {}

lib/bandwidth-sdk/api/mfa_api.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The version of the OpenAPI document: 1.0.0
77
88
Generated by: https://openapi-generator.tech
9-
Generator version: 7.7.0
9+
Generator version: 7.8.0
1010
1111
=end
1212

@@ -57,7 +57,7 @@ def generate_messaging_code_with_http_info(account_id, code_request, opts = {})
5757
# header parameters
5858
header_params = opts[:header_params] || {}
5959
# HTTP header 'Accept' (if needed)
60-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
60+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
6161
# HTTP header 'Content-Type'
6262
content_type = @api_client.select_header_content_type(['application/json'])
6363
if !content_type.nil?
@@ -131,7 +131,7 @@ def generate_voice_code_with_http_info(account_id, code_request, opts = {})
131131
# header parameters
132132
header_params = opts[:header_params] || {}
133133
# HTTP header 'Accept' (if needed)
134-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
134+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
135135
# HTTP header 'Content-Type'
136136
content_type = @api_client.select_header_content_type(['application/json'])
137137
if !content_type.nil?
@@ -205,7 +205,7 @@ def verify_code_with_http_info(account_id, verify_code_request, opts = {})
205205
# header parameters
206206
header_params = opts[:header_params] || {}
207207
# HTTP header 'Accept' (if needed)
208-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
208+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
209209
# HTTP header 'Content-Type'
210210
content_type = @api_client.select_header_content_type(['application/json'])
211211
if !content_type.nil?

lib/bandwidth-sdk/api/phone_number_lookup_api.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The version of the OpenAPI document: 1.0.0
77
88
Generated by: https://openapi-generator.tech
9-
Generator version: 7.7.0
9+
Generator version: 7.8.0
1010
1111
=end
1212

@@ -57,7 +57,7 @@ def create_lookup_with_http_info(account_id, lookup_request, opts = {})
5757
# header parameters
5858
header_params = opts[:header_params] || {}
5959
# HTTP header 'Accept' (if needed)
60-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
60+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
6161
# HTTP header 'Content-Type'
6262
content_type = @api_client.select_header_content_type(['application/json'])
6363
if !content_type.nil?
@@ -131,7 +131,7 @@ def get_lookup_status_with_http_info(account_id, request_id, opts = {})
131131
# header parameters
132132
header_params = opts[:header_params] || {}
133133
# HTTP header 'Accept' (if needed)
134-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
134+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
135135

136136
# form parameters
137137
form_params = opts[:form_params] || {}

0 commit comments

Comments
 (0)