-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SWI-5934 Update to Generator v7.8.0 (#147)
* SWI-5943 Update to Generator v7.8.0 * update tests
- Loading branch information
Showing
113 changed files
with
186 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.7.0 | ||
7.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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? | ||
|
@@ -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] || {} | ||
|
@@ -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] || {} | ||
|
@@ -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? | ||
|
@@ -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? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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] || {} | ||
|
@@ -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] || {} | ||
|
@@ -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] || {} | ||
|
@@ -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] || {} | ||
|
@@ -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] || {} | ||
|
@@ -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] || {} | ||
|
@@ -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? | ||
|
@@ -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? | ||
|
@@ -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? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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] || {} | ||
|
@@ -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] || {} | ||
|
@@ -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 | ||
|
@@ -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? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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? | ||
|
@@ -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] || {} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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? | ||
|
@@ -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? | ||
|
@@ -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? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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? | ||
|
@@ -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] || {} | ||
|
Oops, something went wrong.