[Hub Generated] Review request for Microsoft.DevTestLab to add version stable/2021-09-01#17666
[Hub Generated] Review request for Microsoft.DevTestLab to add version stable/2021-09-01#17666Kencdk wants to merge 10 commits intoAzure:mainfrom
Conversation
|
Hi, @Kencdk 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 |
Swagger Validation Report
|
| Rule | Message |
|---|---|
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/d5cbe02f779a8313875cc92e94078f588e35ae52/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json", "details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow, indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest. ==================== 1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.64/common/temp/node_modules/.pnpm/@Azure+oad@0.10.4/node_modules/autorest/dist/app.js" --v2 --input-file=specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: ERROR: Schema violation: Data does not match any schemas from 'oneOf' -------------------- 3: - file:///mnt/vss/work/1/azure-rest-api-specs/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json:8422:10 ($.paths["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/name"].put["x-ms-examples"].LabsCreateOrUpdate) -------------------- 4: FATAL: swagger-document/individual/schema-validator - FAILED -------------------- 5: FATAL: Error: [OperationAbortedException] Error occurred. Exiting. -------------------- 6: Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting. --------------------" |
The following breaking changes are detected by comparison with the latest preview version:
| Rule | Message |
|---|---|
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/d5cbe02f779a8313875cc92e94078f588e35ae52/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/preview/2015-05-21-preview/DTL.json", "details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow, indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest. ==================== 1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.64/common/temp/node_modules/.pnpm/@Azure+oad@0.10.4/node_modules/autorest/dist/app.js" --v2 --input-file=specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: ERROR: Schema violation: Data does not match any schemas from 'oneOf' -------------------- 3: - file:///mnt/vss/work/1/azure-rest-api-specs/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json:8422:10 ($.paths["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/name"].put["x-ms-examples"].LabsCreateOrUpdate) -------------------- 4: FATAL: swagger-document/individual/schema-validator - FAILED -------------------- 5: FATAL: Error: [OperationAbortedException] Error occurred. Exiting. -------------------- 6: Process() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting. --------------------" |
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌LintDiff: 24 Errors, 110 Warnings failed [Detail]
| compared tags (via openapi-validator v2.1.6) | new version | base version |
|---|---|---|
| package-2021-09 | package-2021-09(d5cbe02) | default(main) |
[must fix]The following errors/warnings are introduced by current PR:
Only 30 items are listed, please refer to log for more details.
| Rule | Message | Related RPC [For API reviewers] |
|---|---|---|
ProvisioningStateSpecifiedForLROPut |
200 response schema in long running PUT operation is missing ProvisioningState property. A LRO PUT operations response schema must have ProvisioningState specified for the 200 and 201 status codes. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3075 |
|
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3075 |
RPC-Async-V1-11, RPC-Put-V1-11 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3123 |
|
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3133 |
RPC-Delete-V1-01 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3166 |
RPC-Async-V1-07 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3175 |
|
PatchResponseCodes |
Synchronous PATCH operations must have responses with 200 and default return codes. They also must not have other response codes. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3185 |
RPC-Patch-V1-06 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3410 |
|
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3421 |
RPC-Delete-V1-01 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3454 |
RPC-Async-V1-07 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3463 |
|
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3552 |
RPC-Get-V1-08 |
ResourceNameRestriction |
The resource name parameter 'sharedGalleryName' should be defined with a 'pattern' restriction. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3769 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'sharedGalleryName' should be defined with a 'pattern' restriction. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3843 |
RPC-Uri-V1-05 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L3850 |
RPC-Get-V1-08 |
ConsistentPatchProperties |
The property 'tags' in the request body either not apppear in the resource model or has the wrong level. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L4350 |
RPC-Patch-V1-03 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L8188 |
|
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L8199 |
RPC-Delete-V1-01 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L8234 |
RPC-Async-V1-07 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L8243 |
|
PatchIdentityProperty |
The patch operation body parameter schema should contain property 'identity'. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L8498 |
RPC-Patch-V1-11 |
TrackedResourcePatchOperation |
Tracked resource 'GalleryImage' must have patch operation that at least supports the update of tags. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L10824 |
RPC-Patch-V1-03 |
TrackedResourcesMustHavePut |
The tracked resource GalleryImage does not have a corresponding put operation. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L10824 |
RPC-Put-V1-22 |
XmsIdentifierValidation |
Missing identifier id in array item property Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L13508 |
|
| Not using the common-types defined parameter 'api-version'. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1734 |
||
| Not using the common-types defined parameter 'resourceGroupName'. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1734 |
||
| Not using the common-types defined parameter 'subscriptionId'. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1734 |
||
| Not using the common-types defined parameter 'api-version'. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L2135 |
||
| Not using the common-types defined parameter 'resourceGroupName'. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L2135 |
||
| Not using the common-types defined parameter 'subscriptionId'. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L2135 |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
| Rule | Message |
|---|---|
OperationsApiResponseSchema |
The response schema of operations API '/providers/Microsoft.DevTestLab/operations' does not match the ARM specification. Please standardize the schema. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L45 |
OperationsApiSchemaUsesCommonTypes |
Operations API path must follow the schema provided in the common types. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L46 |
LroExtension |
Operations with a 202 response must specify x-ms-long-running-operation: true.Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L132 |
GetOperation200 |
The get operation should only return 200. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L165 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L165 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L470 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L603 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L724 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L948 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1138 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1239 |
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1250 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1282 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1291 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1438 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1539 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L1855 |
ResourceNameRestriction |
The resource name parameter 'policySetName' should be defined with a 'pattern' restriction. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L2252 |
ResourceNameRestriction |
The resource name parameter 'policySetName' should be defined with a 'pattern' restriction. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L2326 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L2333 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L2640 |
PostResponseCodes |
200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L2858 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L2890 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L2896 |
ParametersInPointGet |
Query parameter $expand should be removed. Point Get's MUST not have query parameters other than api version. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L4157 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L4258 |
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L4269 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L4301 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L4310 |
ResourceNameRestriction |
The resource name parameter 'userName' should be defined with a 'pattern' restriction. Location: Microsoft.DevTestLab/stable/2021-09-01/DTL.json#L4379 |
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️❌ModelValidation: 128 Errors, 0 Warnings failed [Detail]
Only 30 items are listed, please refer to log for more details.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
|
[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 Generation Artifacts
|
|
Hi @Kencdk, Your PR has some issues. Please fix the CI sequentially by following the order of
|
|
Hi @Kencdk, 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. |
|
Hi, @Kencdk. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee. |
3 similar comments
|
Hi, @Kencdk. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee. |
|
Hi, @Kencdk. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee. |
|
Hi, @Kencdk. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee. |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
200 is not needed for LRO-DELETE: Refers to: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json:8467 in 68714be. [](commit_id = 68714be2680d2d993d24582080aba9cfbfc495d4, deletion_comment = False) |
200 is not needed for LRO-DELETE: Refers to: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json:3090 in 68714be. [](commit_id = 68714be2680d2d993d24582080aba9cfbfc495d4, deletion_comment = False) |
200 is not needed for LRO-DELETE: Refers to: specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2021-09-01/DTL.json:3405 in 68714be. [](commit_id = 68714be2680d2d993d24582080aba9cfbfc495d4, deletion_comment = False) |
There was a problem hiding this comment.
since it's been a long time and the original lint-diff error(https://github.com/Azure/azure-rest-api-specs/pull/17666/checks?sha=93f32e1fb5ea9dd065142f956f8543aa892de32f) does not exist, could you kindly remove all the added suppressions and submit a new commit to create a new lint-diff result and then add the suppressions back. After that we can review whether they can be suppressed. Thanks.
…09-15 to version 2021-09-01
Scenarios depend on an environment with the following properties: repo_cloneuri, a link to a github or ado git repository repo_type, the type of repository (GitHub or VsoGit) repo_pat, personal access token to the repository repo_folderPath, path to the artifacts folder in the repository repo_branchref, name of the branch in the repository
|
Hi, @Kencdk. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove |
1 similar comment
|
Hi, @Kencdk. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove |
|
@Kencdk I have removed the |
|
Hi, @Kencdk. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove |
|
Hi, @Kencdk. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee. |
This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Changelog
Add a changelog entry for 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
Otherwise your PR may be subject to ARM review requirements. Complete the following:
Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
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 any of the following scenarios apply to the PR, request approval from the 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.