-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Break apart policy swagger specs #1691
Conversation
@pilor, |
@pilor this PR does more than just move stuff. Was this intended? At first glance, there seem to be some significant changes mixed into moving stuff from A to B - that's very complicated to review reliably. Could you please split these changes into multiple (appropriately named) PRs? |
@olydis, its only splitting and resolving a few validation warnings/errors (readOnly name property and new example files). The diff is more complex than it could be because I let git choose what file to base the "mv" command off of instead of explicitly specifying it. I'll push a new change that should make it more clear |
@olydis, nevermind this isn't actually fixable. Git doesn't care whether you use mv or manually rename, the diffs are based off of similarity between files. The diffs you are seeing in here are diffing between the 2016-12-01 policy.json and the new 2017-06-01-preview split out policyAssignments.json (and vice versa). If you looked at the diffs in the same api-version folder they would be much cleaner |
Thanks, the commits indeed make reviewing easier! |
No modification for AutorestCI/azure-sdk-for-node |
No modification for AutorestCI/azure-sdk-for-python |
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 and make AutoRest Linter Azure Bot smarter day by day! Thanks for your co-operation. |
2 similar comments
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 and make AutoRest Linter Azure Bot smarter day by day! Thanks for your co-operation. |
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 and make AutoRest Linter Azure Bot smarter day by day! Thanks for your co-operation. |
…privatepreview Users/huliu/azureiidt 2020 07 15 privatepreview
Breaking apart the policy swagger specs so that resourceTypes with different api-versions can easily be included in the same generated code. This change also introduces examples for policyAssignment operations.
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-version
in the path should match theapi-version
in the spec).Quality of Swagger