-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Autorest violations fixes in RecoveryServices.Backup #2208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
04e2410 to
30b0a1e
Compare
30b0a1e to
ff7eaae
Compare
|
@alvadb Please review this. |
|
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
|
Working on this. Hope to have it done by tomorrow. |
| "$ref": "#/definitions/AzureIaaSVMHealthDetails" | ||
| } | ||
| }, | ||
| "lastBackupStatus": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be an enum?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. I've removed misleading description.
| "type": "object", | ||
| "properties": { | ||
| "hostServerName": { | ||
| "description": "Host Os Name in case of Stand Alone and \r\n Cluster Name in case of distributed container.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove \r\n from description value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this necessary?
| "type": "string" | ||
| }, | ||
| "status": { | ||
| "description": "Status of this Node.\r\n Failed | Succeeded", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove \r\n from description.
| "protectedItemType": { | ||
| "description": "backup item type.", | ||
| "status": { | ||
| "description": "Status of protectable item, i.e. InProgress,Succeeded,Failed", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be an enum?
| } | ||
| } | ||
| }, | ||
| "BackupStatusResponse": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add description to properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
| } | ||
| }, | ||
| "BackupStatusRequest": { | ||
| "description": "BackupStatus request.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add description to properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
| "type": "object", | ||
| "properties": { | ||
| "entityFriendlyName": { | ||
| "descrip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add description to properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description is already present in this case.
| "type": "object", | ||
| "properties": { | ||
| "entityFriendlyName": { | ||
| "descrip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add description to properties.
| "type": "object", | ||
| "properties": { | ||
| "entityFriendlyName": { | ||
| "descrip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add description.
|
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
|
@alvadb Updated PR. |
eaa780a to
dd83486
Compare
|
@alvadb this PR looks good to me. Please feel free to merge if all your feedbacks are addressed. |
|
Was unable to find SDK Azure/azure-sdk-for-python PR for this closed PR. |
|
No modification for AutorestCI/azure-sdk-for-python |
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-versionin the path should match theapi-versionin the spec).Quality of Swagger