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

[Draft] Dot not merge #29118

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

danielthank
Copy link
Member

@danielthank danielthank commented May 15, 2024

Data Plane API Specification Update Pull Request

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

spec_pr_review_workflow_diagram

API Info: The Basics

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

  • Link to API Spec 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 API Spec document (if applicable), and the root paths that have been updated.

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

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.

❔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

Getting help

  • First, please carefully read through this PR description, from top to bottom.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

@danielthank danielthank requested a review from a team as a code owner May 15, 2024 23:31
@danielthank danielthank requested review from DominikMe and bexxx and removed request for a team May 15, 2024 23:31
Copy link

openapi-pipeline-app bot commented May 15, 2024

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ The required check named Swagger PrettierCheck has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it

Important checks have failed. As of today they are not blocking this PR, but in near future they will.
Addressing the following failures is highly recommended:
  • ⚠️ The check named TypeSpec Requirement (data-plane) has failed. TypeSpec usage is required for all new (greenfield) services. This is currently enforced as a warning for data-plane specs, but will be made a blocking error in the near future. For information on converting from OpenAPI specs to TypeSpec specs or on data-plane (DP) policies, refer to aka.ms/azsdk/typespec. If you have general questions on resource provider (RP) policies, refer to aka.ms/rphelp

Copy link

openapi-pipeline-app bot commented May 15, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
Compared specs (v0.10.8) new version base version
asyncBatchManagement.json 2024-04-01-preview(8da93aa) 2024-04-01-preview(main)
route.json 2024-04-01-preview(8da93aa) 2024-04-01-preview(main)
search.json 2024-04-01-preview(8da93aa) 2024-04-01-preview(main)
️️✔️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 specs (v2.2.2) new version base version
package-preview-2024-04 package-preview-2024-04(8da93aa) package-preview-2024-04(main)
package-preview-2024-04 package-preview-2024-04(8da93aa) package-preview-2024-04(main)
package-preview-2024-04 package-preview-2024-04(8da93aa) package-preview-2024-04(main)

The following errors/warnings exist before current PR submission:

Only 30 items are listed, please refer to log for more details.

Rule Message
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: AsyncBatchManagement/preview/2024-04-01-preview/asyncBatchManagement.json#L121
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: AsyncBatchManagement/preview/2024-04-01-preview/asyncBatchManagement.json#L121
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: AsyncBatchManagement/preview/2024-04-01-preview/asyncBatchManagement.json#L161
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: AsyncBatchManagement/preview/2024-04-01-preview/asyncBatchManagement.json#L161
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: AsyncBatchManagement/preview/2024-04-01-preview/asyncBatchManagement.json#L303
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-04-01-preview/route.json#L122
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Route/preview/2024-04-01-preview/route.json#L137
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-04-01-preview/route.json#L185
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Route/preview/2024-04-01-preview/route.json#L245
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Route/preview/2024-04-01-preview/route.json#L355
⚠️ PropertyType Property should have a defined type.
Location: Route/preview/2024-04-01-preview/route.json#L849
⚠️ PropertyType Property should have a defined type.
Location: Route/preview/2024-04-01-preview/route.json#L854
⚠️ PropertyType Property should have a defined type.
Location: Route/preview/2024-04-01-preview/route.json#L997
⚠️ PropertyType Property should have a defined type.
Location: Route/preview/2024-04-01-preview/route.json#L1002
⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
Location: Route/preview/2024-04-01-preview/route.json#L1792
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Route/preview/2024-04-01-preview/route.json#L2049
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Search/preview/2024-04-01-preview/search.json#L290
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-04-01-preview/search.json#L404
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-04-01-preview/search.json#L404
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Search/preview/2024-04-01-preview/search.json#L419
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-04-01-preview/search.json#L456
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-04-01-preview/search.json#L456
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-04-01-preview/search.json#L516
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-04-01-preview/search.json#L516
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-04-01-preview/search.json#L586
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-04-01-preview/search.json#L586
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Search/preview/2024-04-01-preview/search.json#L601
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-04-01-preview/search.json#L653
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-04-01-preview/search.json#L653
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Search/preview/2024-04-01-preview/search.json#L668
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView 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.
️️✔️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 pending [Detail]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented May 15, 2024

Swagger Generation Artifacts

️🔄ApiDocPreview inProgress [Detail]
Posted by Swagger Pipeline | How to fix these errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants