Skip to content

Commit

Permalink
XMSParameterLocation Fixes (#2649)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarangan12 authored and olydis committed Mar 14, 2018
1 parent b9b31b3 commit b00c697
Show file tree
Hide file tree
Showing 27 changed files with 80 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1059,14 +1059,16 @@
"description": "The name of the automation account.",
"type": "string",
"required": true,
"in": "path"
"in": "path",
"x-ms-parameter-location": "client"
},
"clientRequestId": {
"name": "clientRequestId",
"description": "Identifies this specific client request.",
"type": "string",
"required": false,
"in": "header"
"in": "header",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,8 @@
"in": "header",
"required": true,
"type": "string",
"x-ms-client-name": "ApiKey"
"x-ms-client-name": "ApiKey",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2923,7 +2923,8 @@
"in": "header",
"required": true,
"type": "string",
"x-ms-client-name": "ApiKey"
"x-ms-client-name": "ApiKey",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,8 @@
"in": "query",
"required": false,
"type": "string",
"description": "An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names)."
"description": "An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).",
"x-ms-parameter-location": "client"
}
}
}
3 changes: 2 additions & 1 deletion specification/common-types/resource-management/v1/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@
"description": "The name of the resource group. The name is case insensitive.",
"pattern": "^[-\\w\\._\\(\\)]+$",
"minLength": 1,
"maxLength": 90
"maxLength": 90,
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,8 @@
"in": "path",
"description": "Budget name.",
"required": true,
"type": "string"
"type": "string",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@
"in": "path",
"required": true,
"type": "string",
"description": "The name of the data catlog in the specified subscription and resource group."
"description": "The name of the data catlog in the specified subscription and resource group.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2897,7 +2897,8 @@
"type": "string",
"default": "azuredatalakeanalytics.net",
"x-ms-skip-url-encoding": true,
"description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Catalog service requests."
"description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Catalog service requests.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,8 @@
"type": "string",
"default": "azuredatalakeanalytics.net",
"x-ms-skip-url-encoding": true,
"description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Job service requests."
"description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Job service requests.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,8 @@
"type": "string",
"default": "azuredatalakeanalytics.net",
"x-ms-skip-url-encoding": true,
"description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Job service requests."
"description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Job service requests.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2011,7 +2011,8 @@
"type": "string",
"default": "azuredatalakeanalytics.net",
"x-ms-skip-url-encoding": true,
"description": "The DNS suffix used as the base for all Azure Data Lake Analytics Job service requests."
"description": "The DNS suffix used as the base for all Azure Data Lake Analytics Job service requests.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4271,7 +4271,8 @@
"type": "string",
"default": "azuredatalakeanalytics.net",
"x-ms-skip-url-encoding": true,
"description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Catalog service requests."
"description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Catalog service requests.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,8 @@
"type": "string",
"default": "azuredatalakestore.net",
"x-ms-skip-url-encoding": true,
"description": "Gets the URI used as the base for all cloud service requests."
"description": "Gets the URI used as the base for all cloud service requests.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,8 @@
"type": "string",
"default": "azuredatalakestore.net",
"x-ms-skip-url-encoding": true,
"description": "Gets the URI used as the base for all cloud service requests."
"description": "Gets the URI used as the base for all cloud service requests.",
"x-ms-parameter-location": "client"
}
}
}
3 changes: 2 additions & 1 deletion specification/graphrbac/data-plane/stable/1.6/graphrbac.json
Original file line number Diff line number Diff line change
Expand Up @@ -3000,7 +3000,8 @@
"in": "path",
"required": true,
"type": "string",
"description": "The tenant ID."
"description": "The tenant ID.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,8 @@
"required": true,
"type": "string",
"format": "uuid",
"description": "Management Group ID."
"description": "Management Group ID.",
"x-ms-parameter-location": "client"
},
"ApiVersionParameter": {
"name": "api-version",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,8 @@
"description": "Management group creation parameters.",
"schema": {
"$ref": "#/definitions/CreateManagementGroupRequest"
}
},
"x-ms-parameter-location": "client"
},
"PatchGroupRequestParameter": {
"name": "patchGroupRequest",
Expand All @@ -1208,7 +1209,8 @@
"description": "Management group patch parameters.",
"schema": {
"$ref": "#/definitions/PatchManagementGroupRequest"
}
},
"x-ms-parameter-location": "client"
},
"FilterParameter": {
"name": "$filter",
Expand All @@ -1235,7 +1237,8 @@
"create",
"delete"
],
"description": "The id of the operation result."
"description": "The id of the operation result.",
"x-ms-parameter-location": "client"
},
"CheckNameAvailabilityParameter": {
"name": "checkNameAvailabilityRequest",
Expand All @@ -1244,14 +1247,16 @@
"description": "Management group name availability check parameters.",
"schema": {
"$ref": "#/definitions/CheckNameAvailabilityRequest"
}
},
"x-ms-parameter-location": "client"
},
"SkipTokenParameter": {
"name": "$skiptoken",
"in": "query",
"required": false,
"type": "string",
"description": "Page continuation token is only used if a previous operation returned a partial result. \nIf a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.\n"
"description": "Page continuation token is only used if a previous operation returned a partial result. \nIf a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.\n",
"x-ms-parameter-location": "client"
},
"CacheControlHeader": {
"name": "Cache-Control",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
"description": "Standard request header. Used by service to respond to client in appropriate language.",
"name": "Accept-Language",
"type": "string",
"in": "header"
"in": "header",
"x-ms-parameter-location": "client"
}
},
"securityDefinitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
"description": "Standard request header. Used by service to respond to client in appropriate language.",
"name": "Accept-Language",
"type": "string",
"in": "header"
"in": "header",
"x-ms-parameter-location": "client"
}
},
"securityDefinitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1401,14 +1401,16 @@
"required": true,
"schema": {
"$ref": "#/definitions/WorkspacePurgeBody"
}
},
"x-ms-parameter-location": "client"
},
"WorkspacePurgeIdParameter": {
"name": "purgeId",
"in": "path",
"required": true,
"type": "string",
"description": "In a purge status request, this is the Id of the operation the status of which is returned."
"description": "In a purge status request, this is the Id of the operation the status of which is returned.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -965,21 +965,24 @@
"in": "path",
"required": true,
"type": "string",
"description": "Provider name for the parent resource."
"description": "Provider name for the parent resource.",
"x-ms-parameter-location": "client"
},
"ResourceTypeParameter": {
"name": "resourceType",
"in": "path",
"required": true,
"type": "string",
"description": "Resource type for the parent resource"
"description": "Resource type for the parent resource",
"x-ms-parameter-location": "client"
},
"ResourceNameParameter": {
"name": "resourceName",
"in": "path",
"required": true,
"type": "string",
"description": "Parent resource name."
"description": "Parent resource name.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14122,14 +14122,16 @@
"in": "path",
"description": "The name of the resource group where the recovery services vault is present.",
"required": true,
"type": "string"
"type": "string",
"x-ms-parameter-location": "client"
},
"ResourceName": {
"name": "resourceName",
"in": "path",
"description": "The name of the recovery services vault.",
"required": true,
"type": "string"
"type": "string",
"x-ms-parameter-location": "client"
},
"ApiVersion": {
"name": "api-version",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14576,14 +14576,16 @@
"in": "path",
"description": "The name of the resource group where the recovery services vault is present.",
"required": true,
"type": "string"
"type": "string",
"x-ms-parameter-location": "client"
},
"ResourceName": {
"name": "resourceName",
"in": "path",
"description": "The name of the recovery services vault.",
"required": true,
"type": "string"
"type": "string",
"x-ms-parameter-location": "client"
},
"ApiVersion": {
"name": "api-version",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,8 @@
"required": true,
"type": "string",
"x-ms-skip-url-encoding": true,
"description": "The name of the Azure Search service."
"description": "The name of the Azure Search service.",
"x-ms-parameter-location": "client"
},
"SearchDnsSuffixParameter": {
"name": "searchDnsSuffix",
Expand All @@ -323,15 +324,17 @@
"type": "string",
"default": "search.windows.net",
"x-ms-skip-url-encoding": true,
"description": "The DNS suffix of the Azure Search service. The default is search.windows.net."
"description": "The DNS suffix of the Azure Search service. The default is search.windows.net.",
"x-ms-parameter-location": "client"
},
"IndexNameParameter": {
"name": "indexName",
"in": "path",
"required": true,
"type": "string",
"x-ms-skip-url-encoding": false,
"description": "The name of the Azure Search index."
"description": "The name of the Azure Search index.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4013,7 +4013,8 @@
"required": true,
"type": "string",
"x-ms-skip-url-encoding": true,
"description": "The name of the Azure Search service."
"description": "The name of the Azure Search service.",
"x-ms-parameter-location": "client"
},
"SearchDnsSuffixParameter": {
"name": "searchDnsSuffix",
Expand All @@ -4022,7 +4023,8 @@
"type": "string",
"default": "search.windows.net",
"x-ms-skip-url-encoding": true,
"description": "The DNS suffix of the Azure Search service. The default is search.windows.net."
"description": "The DNS suffix of the Azure Search service. The default is search.windows.net.",
"x-ms-parameter-location": "client"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6558,7 +6558,8 @@
"in": "query",
"description": "The timeout in seconds",
"type": "integer",
"required": false
"required": false,
"x-ms-parameter-location": "client"
}
}
}
Expand Down
Loading

0 comments on commit b00c697

Please sign in to comment.