Skip to content

Commit

Permalink
Merge pull request Azure#33 from ZhidaLiu/zhili-swagger-error-fix
Browse files Browse the repository at this point in the history
Swagger error fix for workspaceRP APIs
  • Loading branch information
zhaomuzhi authored Jan 14, 2022
2 parents 089eda1 + 4f5f6d3 commit 398055c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
"Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,12 @@
"schema": {
"$ref": "#/definitions/ListUsagesResult"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -533,6 +539,12 @@
"schema": {
"$ref": "#/definitions/VirtualMachineSizeListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -1470,6 +1482,12 @@
"schema": {
"$ref": "#/definitions/PrivateLinkResourceListResult"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -1982,6 +2000,10 @@
"type": "string"
}
}
},
"isDataAction": {
"description": "Indicates whether the operation applies to data-plane",
"type": "boolean"
}
}
},
Expand Down Expand Up @@ -5181,23 +5203,13 @@
"WorkspaceConnection": {
"x-ms-azure-resource": true,
"description": "Workspace connection.",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
}
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ResourceId of the workspace connection.",
"readOnly": true
},
"name": {
"type": "string",
"description": "Friendly name of the workspace connection.",
"readOnly": true
},
"type": {
"type": "string",
"description": "Resource type of workspace connection.",
"readOnly": true
},
"properties": {
"type": "object",
"description": "Properties of workspace connection.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
}
},
"ListAmlUserFeatureResult": {
"type": "object",
"properties": {
"value": {
"readOnly": true,
Expand Down

0 comments on commit 398055c

Please sign in to comment.