From bcef281153fa689dac376755754aed8aac925815 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 20 Jul 2019 00:39:50 -0400 Subject: [PATCH 1/2] fix: servicefabric character encoding --- .../Microsoft.ServiceFabric/stable/6.2/servicefabric.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json index a85c1110e620..6cfc2a82e2bd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json @@ -12989,7 +12989,7 @@ }, "ServicePlacementPreferPrimaryDomainPolicyDescription": { "x-ms-discriminator-value": "PreferredPrimaryDomain", - "description": "Describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.\n\nThis placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service�s primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.", + "description": "Describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.\n\nThis placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service's primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.", "allOf": [ { "$ref": "#/definitions/ServicePlacementPolicyDescription" From 560a4636bf94794dc17b7faa30cdd4f56e3377bc Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 20 Jul 2019 01:01:01 -0400 Subject: [PATCH 2/2] fix: Remove empty body for model validation --- .../stable/6.2/examples/GetApplicationInfoByName-1.json | 5 +---- .../6.2/examples/GetDeployedApplicationInfoByName-1.json | 5 +---- .../stable/6.2/examples/GetServiceTypeInfoByName-1.json | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json index 9d230b4a6666..6d9746679571 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json @@ -19,9 +19,6 @@ "ApplicationDefinitionKind": "ServiceFabricApplicationDescription" } }, - "204": { - "headers": {}, - "body": "" - } + "204": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json index 87c8485a607c..8552057cbe2f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json @@ -21,9 +21,6 @@ "HealthState": "Ok" } }, - "204": { - "headers": {}, - "body": "" - } + "204": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json index 910cb86eaf6d..4340954856fe 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json @@ -31,9 +31,6 @@ "IsServiceGroup": false } }, - "204": { - "headers": {}, - "body": "" - } + "204": {} } }