Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use common CloudError & CloudErrorBody #13286

Merged
merged 1 commit into from
Mar 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"default": {
"description": "An error response received from the Azure Synapse service.",
"schema": {
"$ref": "#/definitions/CloudError"
"$ref": "./artifacts.json#/definitions/CloudError"
}
}
},
Expand Down Expand Up @@ -93,7 +93,7 @@
"default": {
"description": "An error response received from the Azure Synapse service.",
"schema": {
"$ref": "#/definitions/CloudError"
"$ref": "./artifacts.json#/definitions/CloudError"
}
}
}
Expand Down Expand Up @@ -135,7 +135,7 @@
"default": {
"description": "An error response received from the Azure Synapse service.",
"schema": {
"$ref": "#/definitions/CloudError"
"$ref": "./artifacts.json#/definitions/CloudError"
}
}
}
Expand Down Expand Up @@ -178,7 +178,7 @@
"default": {
"description": "An error response received from the Azure Synapse service.",
"schema": {
"$ref": "#/definitions/CloudError"
"$ref": "./artifacts.json#/definitions/CloudError"
}
}
}
Expand Down Expand Up @@ -215,7 +215,7 @@
"default": {
"description": "An error response received from the Azure Synapse service.",
"schema": {
"$ref": "#/definitions/CloudError"
"$ref": "./artifacts.json#/definitions/CloudError"
}
}
}
Expand Down Expand Up @@ -283,7 +283,7 @@
"default": {
"description": "An error response received from the Azure Synapse service.",
"schema": {
"$ref": "#/definitions/CloudError"
"$ref": "./artifacts.json#/definitions/CloudError"
}
}
}
Expand All @@ -303,7 +303,7 @@
"error": {
"x-ms-client-flatten": true,
"description": "Error data",
"$ref": "#/definitions/CloudErrorBody"
"$ref": "./artifacts.json#/definitions/CloudErrorBody"
}
}
},
Expand Down Expand Up @@ -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": {
Expand Down