Skip to content

Commit

Permalink
[Deployment Scripts] Deployment scripts error model update (Azure#8481)
Browse files Browse the repository at this point in the history
  • Loading branch information
filizt authored and 00Kai0 committed Oct 12, 2020
1 parent a936433 commit 15d9db8
Showing 1 changed file with 14 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DefaultErrorResponse"
"$ref": "#/definitions/DeploymentScriptsError"
}
}
}
Expand Down Expand Up @@ -137,7 +137,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DefaultErrorResponse"
"$ref": "#/definitions/DeploymentScriptsError"
}
}
}
Expand Down Expand Up @@ -177,7 +177,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DefaultErrorResponse"
"$ref": "#/definitions/DeploymentScriptsError"
}
}
}
Expand Down Expand Up @@ -217,7 +217,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DefaultErrorResponse"
"$ref": "#/definitions/DeploymentScriptsError"
}
}
}
Expand Down Expand Up @@ -253,7 +253,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DefaultErrorResponse"
"$ref": "#/definitions/DeploymentScriptsError"
}
}
},
Expand Down Expand Up @@ -298,7 +298,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DefaultErrorResponse"
"$ref": "#/definitions/DeploymentScriptsError"
}
}
}
Expand Down Expand Up @@ -340,7 +340,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DefaultErrorResponse"
"$ref": "#/definitions/DeploymentScriptsError"
}
}
}
Expand Down Expand Up @@ -379,7 +379,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DefaultErrorResponse"
"$ref": "#/definitions/DeploymentScriptsError"
}
}
},
Expand Down Expand Up @@ -676,7 +676,7 @@
},
"error": {
"description": "Error that is relayed from the script execution.",
"$ref": "#/definitions/DefaultErrorResponse"
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -817,30 +817,13 @@
}
}
},
"DefaultErrorResponse": {
"description": "The details of the error.",
"type": "object",
"DeploymentScriptsError": {
"properties": {
"code": {
"description": "One of a server-defined set of error codes.",
"type": "string"
},
"message": {
"description": "A human-readable representation of the error.",
"type": "string"
},
"target": {
"description": "The target of the particular error.",
"type": "string"
},
"details": {
"description": "Detailed errors.",
"type": "array",
"items": {
"$ref": "#/definitions/DefaultErrorResponse"
}
"error": {
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
}
}
},
"description": "Deployment scripts error response."
}
},
"parameters": {
Expand Down

0 comments on commit 15d9db8

Please sign in to comment.