Skip to content

Commit

Permalink
OSSRDBMS -Fixing swagger linting errors (#12279)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinilm authored Jan 7, 2021
1 parent 54e5466 commit e73c753
Show file tree
Hide file tree
Showing 5 changed files with 554 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,7 @@
"properties": {
"backupRetentionDays": {
"type": "integer",
"format": "int32",
"description": "Backup retention days for the server."
},
"geoRedundantBackup": {
Expand Down Expand Up @@ -2222,6 +2223,7 @@
},
"vCore": {
"type": "integer",
"format": "int32",
"description": "vCore associated with the service level objective"
},
"hardwareGeneration": {
Expand All @@ -2230,10 +2232,12 @@
},
"maxBackupRetentionDays": {
"type": "integer",
"format": "int32",
"description": "Maximum Backup retention in days for the performance tier edition"
},
"minBackupRetentionDays": {
"type": "integer",
"format": "int32",
"description": "Minimum Backup retention in days for the performance tier edition"
},
"maxStorageMB": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@
},
"202": {
"description": "Accepted"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -140,6 +146,12 @@
},
"202": {
"description": "Accepted"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -178,6 +190,12 @@
},
"204": {
"description": "NoContent"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -213,6 +231,12 @@
"schema": {
"$ref": "#/definitions/Server"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -246,6 +270,12 @@
"schema": {
"$ref": "#/definitions/ServerListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -279,6 +309,12 @@
"schema": {
"$ref": "#/definitions/ServerListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -361,6 +397,12 @@
"schema": {
"$ref": "#/definitions/ServerListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -421,6 +463,12 @@
},
"202": {
"description": "Accepted"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -462,6 +510,12 @@
},
"204": {
"description": "NoContent"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -500,6 +554,12 @@
"schema": {
"$ref": "#/definitions/FirewallRule"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -536,6 +596,12 @@
"schema": {
"$ref": "#/definitions/FirewallRuleListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -783,6 +849,12 @@
},
"202": {
"description": "Accepted"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -824,6 +896,12 @@
},
"204": {
"description": "NoContent"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -862,6 +940,12 @@
"schema": {
"$ref": "#/definitions/Database"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -898,6 +982,12 @@
"schema": {
"$ref": "#/definitions/DatabaseListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -952,6 +1042,12 @@
},
"202": {
"description": "Accepted"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-long-running-operation": true
Expand Down Expand Up @@ -990,6 +1086,12 @@
"schema": {
"$ref": "#/definitions/Configuration"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -1026,6 +1128,12 @@
"schema": {
"$ref": "#/definitions/ConfigurationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -1120,14 +1228,20 @@
"schema": {
"$ref": "#/definitions/LogFileListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
"nextLinkName": null
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForMySQL/servers/{serverName}/Administrators/activeDirectory": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForMySQL/servers/{serverName}/administrators/activeDirectory": {
"get": {
"tags": [
"ServerAdministrators"
Expand Down Expand Up @@ -1430,6 +1544,12 @@
"schema": {
"$ref": "#/definitions/PerformanceTierListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -1472,6 +1592,12 @@
"schema": {
"$ref": "#/definitions/NameAvailability"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -1619,6 +1745,12 @@
"schema": {
"$ref": "#/definitions/OperationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
Expand Down Expand Up @@ -1862,6 +1994,7 @@
"properties": {
"backupRetentionDays": {
"type": "integer",
"format": "int32",
"description": "Backup retention days for the server."
},
"geoRedundantBackup": {
Expand Down Expand Up @@ -2564,6 +2697,7 @@
},
"vCore": {
"type": "integer",
"format": "int32",
"description": "vCore associated with the service level objective"
},
"hardwareGeneration": {
Expand All @@ -2572,10 +2706,12 @@
},
"maxBackupRetentionDays": {
"type": "integer",
"format": "int32",
"description": "Maximum Backup retention in days for the performance tier edition"
},
"minBackupRetentionDays": {
"type": "integer",
"format": "int32",
"description": "Minimum Backup retention in days for the performance tier edition"
},
"maxStorageMB": {
Expand Down
Loading

0 comments on commit e73c753

Please sign in to comment.