diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/library.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/library.json index 000e4d6ce6cd..ffd5eca43379 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/library.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/library.json @@ -50,7 +50,7 @@ "default": { "description": "An error response received from the Azure Synapse service.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "./artifacts.json#/definitions/CloudError" } } }, @@ -93,7 +93,7 @@ "default": { "description": "An error response received from the Azure Synapse service.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "./artifacts.json#/definitions/CloudError" } } } @@ -135,7 +135,7 @@ "default": { "description": "An error response received from the Azure Synapse service.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "./artifacts.json#/definitions/CloudError" } } } @@ -178,7 +178,7 @@ "default": { "description": "An error response received from the Azure Synapse service.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "./artifacts.json#/definitions/CloudError" } } } @@ -215,7 +215,7 @@ "default": { "description": "An error response received from the Azure Synapse service.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "./artifacts.json#/definitions/CloudError" } } } @@ -283,7 +283,7 @@ "default": { "description": "An error response received from the Azure Synapse service.", "schema": { - "$ref": "#/definitions/CloudError" + "$ref": "./artifacts.json#/definitions/CloudError" } } } @@ -303,7 +303,7 @@ "error": { "x-ms-client-flatten": true, "description": "Error data", - "$ref": "#/definitions/CloudErrorBody" + "$ref": "./artifacts.json#/definitions/CloudErrorBody" } } }, @@ -443,51 +443,6 @@ "description": "Creator Id of the library/package." } } - }, - "CloudError": { - "x-ms-external": true, - "description": "The object that defines the structure of an Azure Synapse error response.", - "type": "object", - "properties": { - "error": { - "x-ms-client-flatten": true, - "description": "Error data", - "$ref": "#/definitions/CloudErrorBody" - } - }, - "required": [ - "error" - ] - }, - "CloudErrorBody": { - "x-ms-external": true, - "description": "The object that defines the structure of an Azure Synapse error.", - "type": "object", - "properties": { - "code": { - "description": "Error code.", - "type": "string" - }, - "message": { - "description": "Error message.", - "type": "string" - }, - "target": { - "description": "Property name/path in request associated with error.", - "type": "string" - }, - "details": { - "description": "Array with additional error details.", - "type": "array", - "items": { - "$ref": "#/definitions/CloudError" - } - } - }, - "required": [ - "code", - "message" - ] } }, "parameters": {