Skip to content

Commit

Permalink
Fix swagger correctness. (#11839)
Browse files Browse the repository at this point in the history
1. Add missing properties: isResolveRequired, totalCount read-only
   property to the moveResource and moveResourceCollection definition.
2. Add missing properties: ETAG/properties.errors property to the move collection definition.
  • Loading branch information
innosam authored Dec 8, 2020
1 parent 0b3f617 commit 716b540
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,11 @@
"$ref": "#/definitions/MoveResourceDependencyOverride"
}
},
"isResolveRequired": {
"description": "Gets a value indicating whether the resolve action is required over the move collection.",
"type": "boolean",
"readOnly": true
},
"errors": {
"description": "Defines the move resource errors.",
"allOf": [
Expand Down Expand Up @@ -1321,6 +1326,15 @@
},
"provisioningState": {
"$ref": "#/definitions/ProvisioningState"
},
"errors": {
"description": "Defines the move collection errors.",
"allOf": [
{
"$ref": "#/definitions/MoveResourceError"
}
],
"readOnly": true
}
}
},
Expand All @@ -1344,6 +1358,11 @@
"type": "string",
"description": "The type of the resource."
},
"etag": {
"readOnly": true,
"type": "string",
"description": "The etag of the resource."
},
"tags": {
"type": "object",
"additionalProperties": {
Expand Down Expand Up @@ -1534,6 +1553,12 @@
"summaryCollection": {
"description": "Gets or sets the list of summary items and the field on which summary is done.",
"$ref": "#/definitions/SummaryCollection"
},
"totalCount": {
"description": "Gets the total count.",
"type": "integer",
"readOnly": true,
"format": "int64"
}
}
},
Expand Down

0 comments on commit 716b540

Please sign in to comment.