Skip to content

Commit

Permalink
Removing x-ms-flatten property (Azure#13929)
Browse files Browse the repository at this point in the history
* manual changes for swagger

* changes for long-running operations

* changes for validate for backup and restore

* removing 204 from operationResults

* changes for a monitoring

* adding format

* removing date-time from duration

* changing to readonly

* changes for listRPs

* fixes swagger

* reverting readonly for scheduleTimes

* fixes for checkgates

* prettier fixes

* cahnges for friendlyname checks

* fixing gates

* removing tracking-via

* model validation fixes

* powershell changes

* adding stable version

* changes for PatchResourceRequestInput

* change for req fields

* changes for description

* changes

* Updated swagger json for item level restore target info objects

* Fixed spelling errors

* Added missing required properties

* removed auth credentials property

* prettier fixes

* Prettier fix

* pr comments fixes

* fixing readme

* changes for go readme

* Removed x-ms-flatten property (#2)

* removed flatten prop

* removing x-ms-flatten

* removing friendlyName from req prop

Co-authored-by: Mayank Aggarwal <mayaggar@microsoft.com>

Co-authored-by: Mayank Aggarwal <mayaggar@microsoft.com>
Co-authored-by: FAREAST\zakinkh <zakinkh@microsoft.com>
  • Loading branch information
3 people authored Apr 16, 2021
1 parent 45f4f47 commit fdd0dda
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2353,8 +2353,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/AzureBackupRecoveryPoint",
"description": "AzureBackupRecoveryPointResource properties",
"x-ms-client-flatten": true
"description": "AzureBackupRecoveryPointResource properties"
}
},
"title": "AzureBackupRecoveryPointResource"
Expand Down Expand Up @@ -2572,7 +2571,6 @@
"BackupInstance": {
"description": "Backup Instance",
"required": [
"friendlyName",
"dataSourceInfo",
"policyInfo",
"objectType"
Expand Down Expand Up @@ -2648,8 +2646,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/BackupInstance",
"description": "BackupInstanceResource properties",
"x-ms-client-flatten": true
"description": "BackupInstanceResource properties"
}
},
"title": "BackupInstanceResource"
Expand Down Expand Up @@ -2772,8 +2769,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/BackupVault",
"description": "BackupVaultResource properties",
"x-ms-client-flatten": true
"description": "BackupVaultResource properties"
}
},
"required": [
Expand Down Expand Up @@ -2833,8 +2829,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/BaseBackupPolicy",
"description": "BaseBackupPolicyResource properties",
"x-ms-client-flatten": true
"description": "BaseBackupPolicyResource properties"
}
},
"title": "BaseBackupPolicyResource"
Expand Down Expand Up @@ -3016,8 +3011,7 @@
},
"properties": {
"$ref": "#/definitions/ClientDiscoveryForProperties",
"description": "Properties for the given operation.",
"x-ms-client-flatten": true
"description": "Properties for the given operation."
}
},
"title": "ClientDiscoveryValueForSingleApi",
Expand Down Expand Up @@ -3835,8 +3829,7 @@
},
"properties": {
"$ref": "#/definitions/OperationExtendedInfo",
"description": "End time of the operation",
"x-ms-client-flatten": true
"description": "End time of the operation"
},
"startTime": {
"description": "Start time of the operation",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2353,8 +2353,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/AzureBackupRecoveryPoint",
"description": "AzureBackupRecoveryPointResource properties",
"x-ms-client-flatten": true
"description": "AzureBackupRecoveryPointResource properties"
}
},
"title": "AzureBackupRecoveryPointResource"
Expand Down Expand Up @@ -2572,7 +2571,6 @@
"BackupInstance": {
"description": "Backup Instance",
"required": [
"friendlyName",
"dataSourceInfo",
"policyInfo",
"objectType"
Expand Down Expand Up @@ -2648,8 +2646,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/BackupInstance",
"description": "BackupInstanceResource properties",
"x-ms-client-flatten": true
"description": "BackupInstanceResource properties"
}
},
"title": "BackupInstanceResource"
Expand Down Expand Up @@ -2772,8 +2769,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/BackupVault",
"description": "BackupVaultResource properties",
"x-ms-client-flatten": true
"description": "BackupVaultResource properties"
}
},
"required": [
Expand Down Expand Up @@ -2833,8 +2829,7 @@
"properties": {
"properties": {
"$ref": "#/definitions/BaseBackupPolicy",
"description": "BaseBackupPolicyResource properties",
"x-ms-client-flatten": true
"description": "BaseBackupPolicyResource properties"
}
},
"title": "BaseBackupPolicyResource"
Expand Down Expand Up @@ -3016,8 +3011,7 @@
},
"properties": {
"$ref": "#/definitions/ClientDiscoveryForProperties",
"description": "Properties for the given operation.",
"x-ms-client-flatten": true
"description": "Properties for the given operation."
}
},
"title": "ClientDiscoveryValueForSingleApi",
Expand Down Expand Up @@ -3835,8 +3829,7 @@
},
"properties": {
"$ref": "#/definitions/OperationExtendedInfo",
"description": "End time of the operation",
"x-ms-client-flatten": true
"description": "End time of the operation"
},
"startTime": {
"description": "Start time of the operation",
Expand Down

0 comments on commit fdd0dda

Please sign in to comment.