diff --git a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb index 2cfdcb79ba..9d0d0c5d6c 100644 --- a/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb +++ b/data/azure_cognitiveservices_computervision/lib/1.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb @@ -1348,7 +1348,6 @@ def analyze_image_in_stream_async(image, visual_features:nil, details:nil, langu } } request_content = self.serialize(request_mapper, image) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'analyze' @@ -1488,7 +1487,6 @@ def generate_thumbnail_in_stream_async(width, height, image, smart_cropping:fals } } request_content = self.serialize(request_mapper, image) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'generateThumbnail' @@ -1639,7 +1637,6 @@ def recognize_printed_text_in_stream_async(detect_orientation, image, language:n } } request_content = self.serialize(request_mapper, image) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'ocr' @@ -1767,7 +1764,6 @@ def describe_image_in_stream_async(image, max_candidates:'1', custom_headers:nil } } request_content = self.serialize(request_mapper, image) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'describe' @@ -1886,7 +1882,6 @@ def tag_image_in_stream_async(image, custom_headers:nil) } } request_content = self.serialize(request_mapper, image) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'tag' @@ -2011,7 +2006,6 @@ def analyze_image_by_domain_in_stream_async(model, image, custom_headers:nil) } } request_content = self.serialize(request_mapper, image) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'models/{model}/analyze' @@ -2129,7 +2123,6 @@ def recognize_text_in_stream_async(image, detect_handwriting:false, custom_heade } } request_content = self.serialize(request_mapper, image) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'recognizeText' diff --git a/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/image_moderation.rb b/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/image_moderation.rb index 7e042cd009..9fcb2f1559 100644 --- a/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/image_moderation.rb +++ b/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/image_moderation.rb @@ -511,7 +511,6 @@ def find_faces_file_input_async(image_stream, cache_image:nil, custom_headers:ni } } request_content = @client.serialize(request_mapper, image_stream) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'contentmoderator/moderate/v1.0/ProcessImage/FindFaces' @@ -878,7 +877,6 @@ def ocrfile_input_async(language, image_stream, cache_image:nil, enhanced:false, } } request_content = @client.serialize(request_mapper, image_stream) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'contentmoderator/moderate/v1.0/ProcessImage/OCR' @@ -985,7 +983,6 @@ def evaluate_file_input_async(image_stream, cache_image:nil, custom_headers:nil) } } request_content = @client.serialize(request_mapper, image_stream) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'contentmoderator/moderate/v1.0/ProcessImage/Evaluate' @@ -1356,7 +1353,6 @@ def match_file_input_async(image_stream, list_id:nil, cache_image:nil, custom_he } } request_content = @client.serialize(request_mapper, image_stream) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'contentmoderator/moderate/v1.0/ProcessImage/Match' diff --git a/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image.rb b/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image.rb index bdbd40c073..4c05e0806f 100644 --- a/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image.rb +++ b/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image.rb @@ -590,7 +590,6 @@ def add_image_file_input_async(list_id, image_stream, tag:nil, label:nil, custom } } request_content = @client.serialize(request_mapper, image_stream) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'contentmoderator/lists/v1.0/imagelists/{listId}/images' diff --git a/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb b/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb index 077baae5eb..e027ab8bbc 100644 --- a/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb +++ b/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb @@ -1327,7 +1327,6 @@ def add_video_transcript_async(team_name, review_id, vttfile, custom_headers:nil } } request_content = @client.serialize(request_mapper, vttfile) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'contentmoderator/review/v1.0/teams/{teamName}/reviews/{reviewId}/transcript' diff --git a/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/face.rb b/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/face.rb index bd7453abf5..d133cc7598 100644 --- a/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/face.rb +++ b/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/face.rb @@ -881,7 +881,6 @@ def detect_in_stream_async(image, return_face_id:true, return_face_landmarks:fal } } request_content = @client.serialize(request_mapper, image) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'detect' diff --git a/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/face_list.rb b/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/face_list.rb index 17fda51f4b..e442ba2ddd 100644 --- a/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/face_list.rb +++ b/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/face_list.rb @@ -813,7 +813,6 @@ def add_face_from_stream_async(face_list_id, image, user_data:nil, target_face:n } } request_content = @client.serialize(request_mapper, image) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'facelists/{faceListId}/persistedFaces' diff --git a/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/person.rb b/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/person.rb index 615d107635..764bf2ca3c 100644 --- a/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/person.rb +++ b/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/person.rb @@ -1113,7 +1113,6 @@ def add_person_face_from_stream_async(person_group_id, person_id, image, user_da } } request_content = @client.serialize(request_mapper, image) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'persongroups/{personGroupId}/persons/{personId}/persistedFaces' diff --git a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb index 1cb81c5d04..af53f0e0db 100644 --- a/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +++ b/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb @@ -478,7 +478,6 @@ def begin_create_or_update_async(resource_group_name, automation_account_name, r } } request_content = @client.serialize(request_mapper, runbook_content) - request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runbooks/{runbookName}/draft/content'