[NetAppFiles]Anf 6195 swagger restapi to2020 06 01 bugfix#10753
Merged
ruowan merged 8 commits intoAzure:masterfrom Sep 15, 2020
Merged
[NetAppFiles]Anf 6195 swagger restapi to2020 06 01 bugfix#10753ruowan merged 8 commits intoAzure:masterfrom
ruowan merged 8 commits intoAzure:masterfrom
Conversation
…into ANF-6195-SwaggerRESTAPI-To2020-06-01-Bugfix
[Staging] Swagger Validation Report
Only 10 items are listed, please refer to log for more details.
❌ |
| Rule | Message |
|---|---|
1034 - AddedRequiredProperty |
The new version has new required property 'snapshotsToKeep' that was not found in the old version. New: Microsoft.NetApp/stable/2020-06-01/netapp.json#L4233:7 |
1034 - AddedRequiredProperty |
The new version has new required property 'snapshotsToKeep' that was not found in the old version. New: Microsoft.NetApp/stable/2020-06-01/netapp.json#L4200:7 |
1034 - AddedRequiredProperty |
The new version has new required property 'minute' that was not found in the old version. New: Microsoft.NetApp/stable/2020-06-01/netapp.json#L4150:7 |
1034 - AddedRequiredProperty |
The new version has new required property 'usedBytes' that was not found in the old version. New: Microsoft.NetApp/stable/2020-06-01/netapp.json#L4150:7 |
1034 - AddedRequiredProperty |
The new version has new required property 'snapshotsToKeep' that was not found in the old version. New: Microsoft.NetApp/stable/2020-06-01/netapp.json#L4172:7 |
1034 - AddedRequiredProperty |
The new version has new required property 'hour' that was not found in the old version. New: Microsoft.NetApp/stable/2020-06-01/netapp.json#L4172:7 |
1034 - AddedRequiredProperty |
The new version has new required property 'minute' that was not found in the old version. New: Microsoft.NetApp/stable/2020-06-01/netapp.json#L4172:7 |
1034 - AddedRequiredProperty |
The new version has new required property 'usedBytes' that was not found in the old version. New: Microsoft.NetApp/stable/2020-06-01/netapp.json#L4172:7 |
1034 - AddedRequiredProperty |
The new version has new required property 'snapshotsToKeep' that was not found in the old version. New: Microsoft.NetApp/stable/2020-06-01/netapp.json#L4150:7 |
1034 - AddedRequiredProperty |
The new version has new required property 'day' that was not found in the old version. New: Microsoft.NetApp/stable/2020-06-01/netapp.json#L4200:7 |
️️✔️LintDiff [Detail]
️✔️Validation passes for LintDiff.
️️✔️Avocado [Detail]
️✔️Validation passes for Avocado.
️️✔️ModelValidation [Detail]
️✔️Validation passes for ModelValidation.
️️✔️SemanticValidation [Detail]
️✔️Validation passes for SemanticValidation.
|
Azure Pipelines successfully started running 1 pipeline(s). |
Azure CLI Extension Generation - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
azure-sdk-for-java - Release
|
azure-sdk-for-go - Release
|
azure-sdk-for-python - Release
|
azure-resource-manager-schemas - Release
|
azure-sdk-for-python-track2 - Release
No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured
|
azure-sdk-for-net - Release
|
azure-sdk-for-js - Release
|
Trenton Generation - Release
|
This was referenced Sep 10, 2020
|
Azure Pipelines successfully started running 1 pipeline(s). |
This was referenced Sep 10, 2020
This was referenced Sep 10, 2020
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Member
|
@audunn If no customer impact, I will label it with approvedBreakingChange. |
Member
|
@jianyexi Could we add a new linter rule to check this issue? Swagger items could be set in array data type only. |
Member
Author
|
@ruowan there should not be customer impact. |
ruowan
approved these changes
Sep 15, 2020
This was referenced Sep 15, 2020
nitegupt
pushed a commit
to nitegupt/azure-rest-api-specs
that referenced
this pull request
Sep 25, 2020
* Fix snapshot snapshotPolicyProperties * Fix linter issue, prettier * one more pretty * param in example * remove param in example * Remove whitespace * Remove valiation on readonly properties Co-authored-by: Audunn Baldvinsson <audunn.baldvinsson@netapp.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
This is a bugfix for the NetAppFiles API to address an issue in SDK generation where snapshotPolicy schedule objects, hourly- daily- weeklySchedule were presented as objects instead of actual classes in generated SDK such as .net.
This would make it more cumbersome for SDK users to consume the objects than it needs to be.
Note the feature is in preview. the spec is new-ly created and generated SDK's have not been released yet, may be considered breaking but addresses a bug that we would like to fix.
Before
After
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.
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.
Please follow the link to find more details on PR review process.