Skip to content

Commit

Permalink
fix semantic and example errors in previous versions for compatability (
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhms authored and mkarmark committed Jul 20, 2021
1 parent 3b4fa06 commit 986543b
Show file tree
Hide file tree
Showing 26 changed files with 708 additions and 497 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
"description": "Gets service administrator, account administrator, and co-administrators for the subscription.",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand All @@ -55,13 +55,19 @@
"schema": {
"$ref": "#/definitions/ClassicAdministratorListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"GetConfigurations": {
"List classic administrators": {
"$ref": "./examples/GetClassicAdministrators.json"
}
}
Expand Down Expand Up @@ -121,20 +127,5 @@
"description": "ClassicAdministrator list result information."
}
},
"parameters": {
"SubscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"required": true,
"type": "string",
"description": "The ID of the target subscription."
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "The API version to use for this operation."
}
}
"parameters": {}
}
Loading

0 comments on commit 986543b

Please sign in to comment.