From d969b33ab324f526bd5ce8f31d02001be1a3d399 Mon Sep 17 00:00:00 2001 From: Varad Meru Date: Thu, 28 Jun 2018 16:03:10 -0700 Subject: [PATCH 1/2] Fix for JobStream duplicate definitions --- .../Microsoft.Automation/stable/2015-10-31/runbook.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/runbook.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/runbook.json index 87a447d59b2e..570bba46aa5c 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/runbook.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/runbook.json @@ -1062,8 +1062,8 @@ "time": { "type": "string", "format": "date-time", - "x-nullable": false, - "description": "Gets or sets the creation time of the job." + "description": "Gets or sets the creation time of the job.", + "x-nullable": false }, "streamType": { "type": "string", @@ -1098,6 +1098,7 @@ "description": "Gets or sets the values of the job stream." } }, + "x-ms-client-flatten": true, "description": "Definition of the job stream." }, "JobStreamListResult": { From 8a340bbee4fbf03824d60353a8a109364e9c5a13 Mon Sep 17 00:00:00 2001 From: Varad Meru Date: Thu, 28 Jun 2018 16:32:14 -0700 Subject: [PATCH 2/2] Updating JobStreamProperties in all the places --- .../Microsoft.Automation/preview/2017-05-15-preview/job.json | 5 +++-- .../stable/2018-01-15/dscCompilationJob.json | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/job.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/job.json index a1447a2c5449..501e357e972f 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/job.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/job.json @@ -636,8 +636,8 @@ "time": { "type": "string", "format": "date-time", - "x-nullable": false, - "description": "Gets or sets the creation time of the job." + "description": "Gets or sets the creation time of the job.", + "x-nullable": false }, "streamType": { "type": "string", @@ -672,6 +672,7 @@ "description": "Gets or sets the values of the job stream." } }, + "x-ms-client-flatten": true, "description": "Definition of the job stream." }, "JobStreamListResult": { diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json index de2bee4573fb..f64b0d34c175 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscCompilationJob.json @@ -588,6 +588,7 @@ "description": "Gets or sets the values of the job stream." } }, + "x-ms-client-flatten": true, "description": "Definition of the job stream." }, "JobProvisioningStateProperty": {