Skip to content

Commit f0a0a9f

Browse files
authored
fix semantic and example errors in previous versions for compatability (#12909)
1 parent c2ce9ba commit f0a0a9f

26 files changed

+708
-497
lines changed

specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
"description": "Gets service administrator, account administrator, and co-administrators for the subscription.",
4444
"parameters": [
4545
{
46-
"$ref": "#/parameters/ApiVersionParameter"
46+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
4747
},
4848
{
49-
"$ref": "#/parameters/SubscriptionIdParameter"
49+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
5050
}
5151
],
5252
"responses": {
@@ -55,13 +55,19 @@
5555
"schema": {
5656
"$ref": "#/definitions/ClassicAdministratorListResult"
5757
}
58+
},
59+
"default": {
60+
"description": "Error response describing why the operation failed.",
61+
"schema": {
62+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
63+
}
5864
}
5965
},
6066
"x-ms-pageable": {
6167
"nextLinkName": "nextLink"
6268
},
6369
"x-ms-examples": {
64-
"GetConfigurations": {
70+
"List classic administrators": {
6571
"$ref": "./examples/GetClassicAdministrators.json"
6672
}
6773
}
@@ -121,20 +127,5 @@
121127
"description": "ClassicAdministrator list result information."
122128
}
123129
},
124-
"parameters": {
125-
"SubscriptionIdParameter": {
126-
"name": "subscriptionId",
127-
"in": "path",
128-
"required": true,
129-
"type": "string",
130-
"description": "The ID of the target subscription."
131-
},
132-
"ApiVersionParameter": {
133-
"name": "api-version",
134-
"in": "query",
135-
"required": true,
136-
"type": "string",
137-
"description": "The API version to use for this operation."
138-
}
139-
}
130+
"parameters": {}
140131
}

0 commit comments

Comments
 (0)