Skip to content

Commit

Permalink
Swagger Fixes (#12982)
Browse files Browse the repository at this point in the history
* Swagger Fixes

* Spell check fix

* Swagger Correctness S360 fixes

* Prettier fixes

* spell check fix

Co-authored-by: Sravan Thupili <srthupil@microsoft.com>
  • Loading branch information
sravanthupili and Sravan Thupili authored Feb 23, 2021
1 parent 7ca16f6 commit d05a297
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,9 @@
"200": {
"description": "Successfully removed the specified Azure Data Lake Store account information from the specified Azure Data Lake Analytics account."
},
"204": {
"description": "Successfully removed the specified Azure Data Lake Store account information from the specified Azure Data Lake Analytics account."
},
"default": {
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
Expand Down Expand Up @@ -1771,7 +1774,7 @@
"id": {
"readOnly": true,
"type": "string",
"description": "The resource identifer."
"description": "The resource identifier."
},
"name": {
"readOnly": true,
Expand Down Expand Up @@ -1872,6 +1875,13 @@
},
"description": "The list of Data Lake Store accounts associated with this account."
},
"publicDataLakeStoreAccounts": {
"type": "array",
"items": {
"$ref": "#/definitions/DataLakeStoreAccountInformation"
},
"description": "The list of Data Lake Store accounts associated with this account."
},
"storageAccounts": {
"readOnly": true,
"type": "array",
Expand Down Expand Up @@ -1913,7 +1923,6 @@
"description": "The list of firewall rules associated with this account."
},
"firewallState": {
"readOnly": true,
"type": "string",
"enum": [
"Enabled",
Expand All @@ -1926,7 +1935,6 @@
"description": "The current state of the IP address firewall for this account."
},
"firewallAllowAzureIps": {
"readOnly": true,
"type": "string",
"enum": [
"Enabled",
Expand All @@ -1939,7 +1947,6 @@
"description": "The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced."
},
"newTier": {
"readOnly": true,
"type": "string",
"enum": [
"Consumption",
Expand Down Expand Up @@ -2001,7 +2008,6 @@
"description": "The system defined maximum supported degree of parallelism for this account, which restricts the maximum value of parallelism the user can set for the account."
},
"maxDegreeOfParallelismPerJob": {
"readOnly": true,
"type": "integer",
"format": "int32",
"minimum": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
}
}
],
"publicDataLakeStoreAccounts": [
{
"id": "test_adls_id",
"name": "test_adls",
"type": "test_type",
"properties": {
"suffix": "test_suffix"
}
}
],
"storageAccounts": [
{
"id": "test_storage_id",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"dataLakeStoreAccountName": "test_adls_account"
},
"responses": {
"200": {}
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@
"id": {
"readOnly": true,
"type": "string",
"description": "The resource identifer."
"description": "The resource identifier."
},
"name": {
"readOnly": true,
Expand Down Expand Up @@ -1854,6 +1854,13 @@
},
"description": "The list of Data Lake Store accounts associated with this account."
},
"publicDataLakeStoreAccounts": {
"type": "array",
"items": {
"$ref": "#/definitions/DataLakeStoreAccountInformation"
},
"description": "The list of Data Lake Store accounts associated with this account."
},
"storageAccounts": {
"readOnly": true,
"type": "array",
Expand Down Expand Up @@ -1895,7 +1902,6 @@
"description": "The list of firewall rules associated with this account."
},
"firewallState": {
"readOnly": true,
"type": "string",
"enum": [
"Enabled",
Expand All @@ -1908,7 +1914,6 @@
"description": "The current state of the IP address firewall for this account."
},
"firewallAllowAzureIps": {
"readOnly": true,
"type": "string",
"enum": [
"Enabled",
Expand All @@ -1921,7 +1926,6 @@
"description": "The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced."
},
"newTier": {
"readOnly": true,
"type": "string",
"enum": [
"Consumption",
Expand Down Expand Up @@ -1987,7 +1991,6 @@
"description": "The system defined maximum supported degree of parallelism for this account, which restricts the maximum value of parallelism the user can set for the account."
},
"maxDegreeOfParallelismPerJob": {
"readOnly": true,
"type": "integer",
"format": "int32",
"minimum": 1,
Expand Down Expand Up @@ -2114,7 +2117,6 @@
],
"properties": {
"properties": {
"readOnly": true,
"x-ms-client-flatten": true,
"$ref": "#/definitions/DataLakeStoreAccountInformationProperties",
"description": "The Data Lake Store account properties."
Expand Down Expand Up @@ -2629,6 +2631,10 @@
"type": "string",
"description": "The name for OperationMetaMetricSpecification."
},
"displayDescription": {
"type": "string",
"description": "The displayName for OperationMetaMetricSpecification."
},
"displayName": {
"type": "string",
"description": "The displayName for OperationMetaMetricSpecification."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
}
}
],
"publicDataLakeStoreAccounts": [
{
"id": "test_adls_id",
"name": "test_adls",
"type": "test_type",
"properties": {
"suffix": "test_suffix"
}
}
],
"storageAccounts": [
{
"id": "test_storage_id",
Expand Down

0 comments on commit d05a297

Please sign in to comment.