Skip to content
Merged
Show file tree
Hide file tree
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 @@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
"value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"responses": {
"200": {
"body": {
"value": "7948bcee-488c-47ce-941c-38e20ede803d"
"subscriptionId": "7948bcee-488c-47ce-941c-38e20ede803d"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad",
"api-version": "2019-03-01-preview",
"body": {
"SubscriptionName": "Test Sub"
"subscriptionName": "Test Sub"
}
},
"responses": {
"200": {
"body": {
"value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
"subscriptionId": "83aa47df-e3e9-49ff-877b-94304bf3d3ad"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"default": {
"description": "Describes the error if the operation is not successful.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorResponseBody"
}
}
}
Expand Down Expand Up @@ -79,7 +79,7 @@
"default": {
"description": "Describes the error if the operation is not successful.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorResponseBody"
}
}
}
Expand Down Expand Up @@ -112,7 +112,7 @@
"default": {
"description": "Describes the error if the operation is not successful.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "#/definitions/ErrorResponseBody"
}
}
}
Expand All @@ -134,10 +134,28 @@
}
}
},
"ErrorResponseBody": {
"description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
"type": "object",
"properties": {
"error": {
"description": "The details of the error.",
"$ref": "#/definitions/ErrorResponse"
},
"code": {
"description": "Error code",
"type": "string"
},
"message": {
"description": "Error message indicating why the operation failed.",
"type": "string"
}
}
},
"CanceledSubscriptionId": {
"description": "The ID of the canceled subscription",
"properties": {
"value": {
"subscriptionId": {
"description": "The ID of the canceled subscription",
"type": "string",
"readOnly": true
Expand All @@ -147,7 +165,7 @@
"RenamedSubscriptionId": {
"description": "The ID of the subscriptions that is being renamed",
"properties": {
"value": {
"subscriptionId": {
"description": "The ID of the subscriptions that is being renamed",
"type": "string",
"readOnly": true
Expand All @@ -157,7 +175,7 @@
"EnabledSubscriptionId": {
"description": "The ID of the subscriptions that is being enabled",
"properties": {
"value": {
"subscriptionId": {
"description": "The ID of the subscriptions that is being enabled",
"type": "string",
"readOnly": true
Expand Down