-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Jx azuredatalake swagger correction #15150
Jx azuredatalake swagger correction #15150
Conversation
Hi, @jimmyshie123 Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com |
[Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks. |
Swagger Validation Report
|
Rule | Message |
---|---|
R3021 - PathResourceTypeNameCamelCase |
Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/DataLakeStoreAccounts/' Location: Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/account.json#L435 |
R3021 - PathResourceTypeNameCamelCase |
Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/DataLakeStoreAccounts/{dataLakeStoreAccountName}' Location: Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/account.json#L527 |
R3021 - PathResourceTypeNameCamelCase |
Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/' Location: Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/account.json#L675 |
R3021 - PathResourceTypeNameCamelCase |
Resource type naming must follow camel case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeAnalytics/accounts/{accountName}/StorageAccounts/{storageAccountName}' Location: Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/account.json#L767 |
R4011 - DeleteOperationResponses |
The delete operation is defined without a 200 or 204 error response implementation,please add it.' Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L635 |
R4011 - DeleteOperationResponses |
The delete operation is defined without a 200 or 204 error response implementation,please add it.' Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L926 |
R4017 - TopLevelResourcesListBySubscription |
The top-level resource 'DataLakeAnalyticsAccount' does not have list by subscription operation, please add it. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L1805 |
R4018 - OperationsApiResponseSchema |
The response schema of operations API '/providers/Microsoft.DataLakeAnalytics/operations' does not match the ARM specification. Please standardize the schema. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L1617 |
R4018 - OperationsApiResponseSchema |
The response schema of operations API '/providers/Microsoft.DataLakeAnalytics/operations' does not match the ARM specification. Please standardize the schema. Location: Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/account.json#L1642 |
R4019 - GetCollectionResponseSchema |
The response in the GET collection operation 'Accounts_ListByResourceGroup' does not match the response definition in the individual GET operation 'Accounts_Get' . Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L123 |
R4032 - MissingXmsErrorResponse |
Response code 404 is defined without a x-ms-error-response. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L1679 |
R4037 - MissingTypeObject |
The schema 'Resource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L1750 |
R4037 - MissingTypeObject |
The schema 'SubResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L1784 |
R4037 - MissingTypeObject |
The schema 'DataLakeAnalyticsAccount' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L1805 |
R4037 - MissingTypeObject |
The schema 'DataLakeAnalyticsAccountBasic' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L1821 |
R4037 - MissingTypeObject |
The schema 'DataLakeAnalyticsAccountProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L1837 |
R4037 - MissingTypeObject |
The schema 'DataLakeAnalyticsAccountPropertiesBasic' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2042 |
R4037 - MissingTypeObject |
The schema 'DataLakeAnalyticsAccountListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2105 |
R4037 - MissingTypeObject |
The schema 'DataLakeStoreAccountInformation' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2123 |
R4037 - MissingTypeObject |
The schema 'DataLakeStoreAccountInformationProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2138 |
R4037 - MissingTypeObject |
The schema 'DataLakeStoreAccountInformationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2148 |
R4037 - MissingTypeObject |
The schema 'StorageAccountInformation' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2166 |
R4037 - MissingTypeObject |
The schema 'StorageAccountInformationProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2182 |
R4037 - MissingTypeObject |
The schema 'StorageAccountInformationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2192 |
R4037 - MissingTypeObject |
The schema 'StorageContainer' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2210 |
R4037 - MissingTypeObject |
The schema 'StorageContainerProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2226 |
R4037 - MissingTypeObject |
The schema 'StorageContainerListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2237 |
R4037 - MissingTypeObject |
The schema 'SasTokenInformation' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2255 |
R4037 - MissingTypeObject |
The schema 'SasTokenInformationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2265 |
R4037 - MissingTypeObject |
The schema 'ComputePolicy' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json#L2283 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
Cross-Version Breaking Changes succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️
[Staging] SDK Track2 Validation succeeded [Detail] [Expand]
Validation passes for SDKTrack2Validation
- The following tags are being changed in this PR
|:speech_balloon: AutorestCore/Exception|"readme":"datalake-analytics/resource-manager/readme.md",
"tag":"package-2016-11",
"details":"> Installing AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0)"|
|:speech_balloon: AutorestCore/Exception|"readme":"datalake-analytics/resource-manager/readme.md",
"tag":"package-2016-11",
"details":"> Installed AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|
The following errors/warnings exist before current PR submission:
|:speech_balloon: AutorestCore/Exception|"readme":"datalake-analytics/resource-manager/readme.md",
"tag":"package-2016-11",
"details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"|
|:speech_balloon: AutorestCore/Exception|"readme":"datalake-analytics/resource-manager/readme.md",
"tag":"package-2015-10-preview",
"details":"> Loading AutoRest extension '@microsoft.azure/openapi-validator' (1.8.0->1.8.0)"|
|:speech_balloon: AutorestCore/Exception|"readme":"datalake-analytics/resource-manager/readme.md",
"tag":"package-2015-10-preview",
"details":"> Loading AutoRest extension '@autorest/modelerfour' (4.15.456->4.15.456)"|
️️✔️
[Staging] PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
[Staging] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
[Staging] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
Swagger Generation Artifacts
|
Hi @jimmyshie123, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. |
NewApiVersionRequired reason: |
* update the spec to add missing field * fixes for all links Co-authored-by: Jimmy Xie <jimmyxie@microsoft.com>
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Changelog
Please ensure to add changelog with this PR by answering the following questions.
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.
Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.