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

[Hub Generated] Review request for Microsoft.KeyVault to add version stable/7.4 #22881

Merged
merged 2 commits into from
Mar 2, 2023

Conversation

rahulalapati43
Copy link
Contributor

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

Data Plane API - Pull Request

API Info: The Basics

Most of the information about your service should be captured in the issue that serves as your engagement record.

  • Link to engagement record issue:

Is this review for (select one):

  • a private preview
  • a public preview
  • GA release

Change Scope

This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous Open API document (swagger) if applicable, and the root paths that have been updated.

  • Design Document:
  • Previous Open API Doc:
  • Updated paths:

❔Got questions? Need additional info?? We are here to help!

Contact us!

The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

Click here for links to tools, specs, guidelines & other good stuff

Tooling

Guidelines & Specifications

Helpful Links

@openapi-workflow-bot
Copy link

Hi, @rahulalapati43 Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 2, 2023

    Swagger Validation Report

    ️❌BreakingChange: 2 Errors, 0 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    settings.json 7.4(3c17c74) 7.4(main)
    Rule Message
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'value' renamed or removed?
    New: Microsoft.KeyVault/stable/7.4/settings.json#L190:7
    Old: Microsoft.KeyVault/stable/7.4/settings.json#L190:7
    1040 - AddedReadOnlyPropertyInResponse The new version has a new read-only property 'settings' in response that was not found in the old version.
    New: Microsoft.KeyVault/stable/7.4/settings.json#L190:7
    Old: Microsoft.KeyVault/stable/7.4/settings.json#L190:7
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-7.4 package-7.4(3c17c74) package-7.4(main)

    The following errors/warnings exist before current PR submission:

    Rule Message
    ⚠️ VersionConvention API version should be a date in YYYY-MM-DD format, optionally suffixed with '-preview'.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L6
    ⚠️ PatchContentType A patch operation should consume 'application/merge-patch+json' content type.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L31
    ⚠️ OperationId OperationId should be of the form 'Noun_Verb'
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L35
    ⚠️ ParameterNamesConvention Parameter name 'setting-name' should be camel case.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L39
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L39
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L63
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L65
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L65
    ⚠️ OperationId OperationId should be of the form 'Noun_Verb'
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L80
    ⚠️ ParameterNamesConvention Parameter name 'setting-name' should be camel case.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L84
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L84
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L98
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L100
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L100
    ⚠️ PageableOperation Based on the response model schema, operation 'GetSettings' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L113
    ⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L113
    ⚠️ OperationId OperationId should be of the form 'Noun_Verb'
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L117
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L132
    ⚠️ ErrorResponse The error property in the error response schema should be required.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L134
    ⚠️ ErrorResponse Error schema should define code and message properties as required.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L134
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.KeyVault/stable/7.4/settings.json#L161
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 2, 2023

    Swagger pipeline restarted successfully, please wait for status update in this comment.

    @ghost ghost added the KeyVault label Mar 2, 2023
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 2, 2023

    Generated ApiView

    Language Package Name ApiView Link
    swagger Microsoft.KeyVault https://apiview.dev/Assemblies/Review/dc7ef798c9a640d99ccb82b28adcd4bd

    @AzureRestAPISpecReview AzureRestAPISpecReview added BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required data-plane labels Mar 2, 2023
    @openapi-workflow-bot
    Copy link

    Hi @rahulalapati43, 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.
    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.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @rahulalapati43
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @rahulalapati43 rahulalapati43 marked this pull request as ready for review March 2, 2023 19:12
    @rahulalapati43
    Copy link
    Contributor Author

    The breaking change is to fix a property name change, which was missed during the 7.4 stable release.

    Copy link
    Member

    @heaths heaths left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    I have verified in our recordings of service responses that this is indeed correct - matching the service implementation.

    @heaths heaths added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Mar 2, 2023
    @heaths heaths merged commit 551275a into main Mar 2, 2023
    @heaths heaths deleted the rahulalapati43-keyvault-Microsoft.KeyVault-7.4 branch March 2, 2023 23:27
    aviyerMSFT pushed a commit to aviyerMSFT/azure-rest-api-specs that referenced this pull request Mar 22, 2023
    …stable/7.4 (Azure#22881)
    
    * Corrected property name in SettingsListResult from value to settings.
    
    * Corrected te property name in the examples.
    
    ---------
    
    Co-authored-by: Rahul Alapati <[email protected]>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required data-plane KeyVault
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants