Skip to content

Commit

Permalink
Fixing auto-rest issues in registries (#20772)
Browse files Browse the repository at this point in the history
* Fixing auto-rest issues in registries

* Removing location from the required list

Co-authored-by: Fahd Kamal <[email protected]>
  • Loading branch information
fahdkmsft and Fahd Kamal authored Sep 21, 2022
1 parent c186142 commit 2e4b0ae
Showing 1 changed file with 0 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,6 @@
"https"
],
"paths": {
"/providers/Microsoft.MachineLearningServices/operations": {
"get": {
"tags": [
"Operation"
],
"description": "Lists all of the available Azure Machine Learning Services REST API operations.",
"operationId": "Operations_List",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "machineLearningServices.json#/definitions/AmlOperationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"List registries.": {
"$ref": "./examples/Workspace/operationsList.json"
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/registries": {
"get": {
"tags": [
Expand Down Expand Up @@ -574,7 +538,6 @@
},
"RegistryTrackedResource": {
"required": [
"location",
"properties"
],
"type": "object",
Expand All @@ -592,10 +555,6 @@
"description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.",
"type": "string"
},
"location": {
"description": "The geo-location where the resource lives.",
"type": "string"
},
"properties": {
"description": "[Required] Additional attributes of the entity.",
"$ref": "#/definitions/Registry"
Expand Down

0 comments on commit 2e4b0ae

Please sign in to comment.