Skip to content

Commit

Permalink
Removing ErrorResponse and OperationsListResult from livetoken_API.js (
Browse files Browse the repository at this point in the history
…#10228)

* Removing ErrorResponse and OperationsListResult from livetoken_API.json, substituting with references to WebTestResults_API.json.

* Fix attempt.

* Typo fix

* Reverting.

* Adjust "Operation" name for uniqueness.
  • Loading branch information
tokaplan authored Jul 24, 2020
1 parent 7e32fc1 commit 60ff1f4
Showing 1 changed file with 4 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"Operations"
],
"summary": "List available operations.",
"description": "List the available operations supported by the Microsoft.EventGrid resource provider.",
"description": "List the available operations supported by the resource provider.",
"operationId": "Operations_List",
"consumes": [],
"produces": [
Expand Down Expand Up @@ -93,7 +93,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
"$ref": "../2020-03-01-preview/componentLinkedStorageAccounts_API.json#/definitions/ErrorResponse"
}
},
"200": {
Expand All @@ -117,20 +117,6 @@
}
},
"definitions": {
"ErrorResponse": {
"description": "Describes the format of an error response.",
"type": "object",
"properties": {
"code": {
"description": "Error code",
"type": "string"
},
"message": {
"description": "Error message indicating why the operation failed.",
"type": "string"
}
}
},
"LiveTokenResponse": {
"type": "object",
"properties": {
Expand All @@ -150,7 +136,7 @@
"description": "A collection of operations",
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
"$ref": "#/definitions/OperationLive"
}
},
"nextLink": {
Expand All @@ -159,7 +145,7 @@
}
}
},
"Operation": {
"OperationLive": {
"description": "Represents an operation returned by the GetOperations request",
"type": "object",
"properties": {
Expand Down

0 comments on commit 60ff1f4

Please sign in to comment.