Skip to content
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

DiskRP Swagger for 09/30 #11202

Merged
merged 82 commits into from
Jan 14, 2021
Merged

Conversation

scottlzhang
Copy link
Contributor

@scottlzhang scottlzhang commented Oct 14, 2020

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

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.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • 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 API Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable version with Breaking Change Validation errors
  • Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Oct 14, 2020

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️LintDiff: 71 Warnings warning [Detail] Only 10 items are listed, please refer to log for more details.

Rule Message
⚠️ R1003 - ListInOperationName Since operation 'GallerySharingProfile_Update' response has model definition 'array', it should be of the form '_list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
New: Microsoft.Compute/preview/2020-09-30/gallery.json#L1637
⚠️ R1006 - PutInOperationName 'PUT' operation 'DiskAccesses_UpdateAPrivateEndpointConnection' should use method name 'Create'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
New: Microsoft.Compute/stable/2020-09-30/disk.json#L1367
⚠️ R2010 - LongRunningOperationsOptionsValidator A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled.
New: Microsoft.Compute/preview/2020-09-30/gallery.json#L1632
⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'DiskRestorePointModel'. Consider using the plural form of 'DiskRestorePoint' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
New: Microsoft.Compute/stable/2020-09-30/disk.json#L1563
⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'DiskRestorePointModel'. Consider using the plural form of 'DiskRestorePoint' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
New: Microsoft.Compute/stable/2020-09-30/disk.json#L1611
⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'share' in:'GallerySharingProfile_Update'. Consider updating the operationId
New: Microsoft.Compute/preview/2020-09-30/gallery.json#L1637
⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'hosts' with immediate parent 'DedicatedHostGroup', must have a list by immediate parent operation.
New: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1346
⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'extensions' with immediate parent 'VirtualMachine', must have a list by immediate parent operation.
New: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1346
⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'extensions' with immediate parent 'VirtualMachineScaleSet', must have a list by immediate parent operation.
New: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1346
⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'extensions' with immediate parent 'VirtualMachine', must have a list by immediate parent operation.
New: Microsoft.Compute/preview/2020-10-01-preview/cloudService.json#L1346
️⚠️Avocado: 1 Warnings warning [Detail]
Rule Message
⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
readme: specification/compute/resource-manager/readme.md
tag: specification/compute/resource-manager/readme.md#tag-package-2020-10-01-preview
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️⚠️[Staging] Cross Version BreakingChange (Base on preview version): 18 Warnings warning [Detail] Only 10 items are listed, please refer to log for more details.

Rule Message
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'EncryptionSettings' removed or renamed?
New: Microsoft.Compute/stable/2020-09-30/disk.json#L1655:3
Old: Microsoft.Compute/preview/2016-04-30-preview/disk.json#L693:3
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.Compute/stable/2020-09-30/disk.json#L141:13
Old: Microsoft.Compute/preview/2016-04-30-preview/disk.json#L108:13
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.Compute/stable/2020-09-30/disk.json#L476:13
Old: Microsoft.Compute/preview/2016-04-30-preview/disk.json#L448:13
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.Compute/stable/2020-09-30/disk.json#L1752:5
Old: Microsoft.Compute/preview/2016-04-30-preview/disk.json#L755:5
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.Compute/stable/2020-09-30/disk.json#L2662:5
Old: Microsoft.Compute/preview/2016-04-30-preview/disk.json#L1077:5
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'accountType' renamed or removed?
New: Microsoft.Compute/stable/2020-09-30/disk.json#L1870:7
Old: Microsoft.Compute/preview/2016-04-30-preview/disk.json#L789:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'encryptionSettings' renamed or removed?
New: Microsoft.Compute/stable/2020-09-30/disk.json#L1870:7
Old: Microsoft.Compute/preview/2016-04-30-preview/disk.json#L789:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'ownerId' renamed or removed?
New: Microsoft.Compute/stable/2020-09-30/disk.json#L1870:7
Old: Microsoft.Compute/preview/2016-04-30-preview/disk.json#L789:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'accountType' renamed or removed?
New: Microsoft.Compute/stable/2020-09-30/disk.json#L2303:7
Old: Microsoft.Compute/preview/2016-04-30-preview/disk.json#L910:7
⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'creationData' renamed or removed?
New: Microsoft.Compute/stable/2020-09-30/disk.json#L2303:7
Old: Microsoft.Compute/preview/2016-04-30-preview/disk.json#L910:7
️⚠️[Staging] Cross Version BreakingChange (Base on stable version): 2 Warnings warning [Detail]

Rule Message
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.Compute/stable/2020-09-30/disk.json#L2899:11
Old: Microsoft.Compute/stable/2020-06-30/disk.json#L2505:11
⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
New: Microsoft.Compute/stable/2020-09-30/disk.json#L2873:5
Old: Microsoft.Compute/stable/2020-06-30/disk.json#L2475:5
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Oct 14, 2020

azure-sdk-for-go

⚠️ warning [Logs] [Expand Details]

This was referenced Jan 14, 2021
@Sandido
Copy link
Member

Sandido commented Jan 15, 2021

@yungezz , this PR re-introduced the preview version of the Gallery API, 2020-09-30.
This version had been reverted and should not have been re-introduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.