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

[AutoSuggest] Add AutoSuggest API for Azure Maps scenario #29669

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

winest
Copy link
Member

@winest winest commented Jul 2, 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.

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.
  • If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
  • 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.

Copy link

openapi-pipeline-app bot commented Jul 2, 2024

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

openapi-pipeline-app bot commented Jul 2, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 4 Warnings warning [Detail]
Compared specs (v0.10.12) new version base version
search.json 2024-07-01-preview(c2b6b79) 2023-06-01(main)
search.json 2024-07-01-preview(c2b6b79) 2024-04-01-preview(main)

The following breaking changes are detected by comparison with the latest stable version:

Rule Message
⚠️ 1038 - AddedPath The new version is adding a path that was not found in the old version.
New: Search/preview/2024-07-01-preview/search.json#L469:5
⚠️ 1038 - AddedPath The new version is adding a path that was not found in the old version.
New: Search/preview/2024-07-01-preview/search.json#L718:5
⚠️ 1038 - AddedPath The new version is adding a path that was not found in the old version.
New: Search/preview/2024-07-01-preview/search.json#L778:5


The following breaking changes are detected by comparison with the latest preview version:

Rule Message
⚠️ 1038 - AddedPath The new version is adding a path that was not found in the old version.
New: Search/preview/2024-07-01-preview/search.json#L778:5
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 8 Warnings warning [Detail]
Compared specs (v2.2.2) new version base version
package-preview-2024-07 package-preview-2024-07(c2b6b79) default(main)

[must fix]The following errors/warnings are introduced by current PR:

Rule Message Related RPC [For API reviewers]
⚠️ PageableOperation Based on the response model schema, operation 'Search_GetAutosuggest' might be pageable. Consider adding the x-ms-pageable extension.
Location: Search/preview/2024-07-01-preview/search.json#L779
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Search/preview/2024-07-01-preview/search.json#L779
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-07-01-preview/search.json#L871
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-07-01-preview/search.json#L871
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Search/preview/2024-07-01-preview/search.json#L871
⚠️ PropertyDescription Property should have a description.
Location: Search/preview/2024-07-01-preview/search.json#L905
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Search/preview/2024-07-01-preview/search.json#L916
⚠️ PropertyDescription Property should have a description.
Location: Search/preview/2024-07-01-preview/search.json#L919


The following errors/warnings exist before current PR submission:

Rule Message
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Search/preview/2024-07-01-preview/search.json#L289
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-07-01-preview/search.json#L403
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-07-01-preview/search.json#L403
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Search/preview/2024-07-01-preview/search.json#L418
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-07-01-preview/search.json#L455
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-07-01-preview/search.json#L455
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-07-01-preview/search.json#L515
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-07-01-preview/search.json#L515
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-07-01-preview/search.json#L585
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-07-01-preview/search.json#L585
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Search/preview/2024-07-01-preview/search.json#L600
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-07-01-preview/search.json#L652
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-07-01-preview/search.json#L652
⚠️ PaginationResponse Operation might be pageable. Consider adding the x-ms-pageable extension.
Location: Search/preview/2024-07-01-preview/search.json#L667
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-07-01-preview/search.json#L704
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-07-01-preview/search.json#L704
⚠️ ErrorResponse Error schema should define code and message properties as required.
Location: Search/preview/2024-07-01-preview/search.json#L764
⚠️ ErrorResponse The error property in the error response schema should be required.
Location: Search/preview/2024-07-01-preview/search.json#L764
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Search/preview/2024-07-01-preview/search.json#L879
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Search/preview/2024-07-01-preview/search.json#L1234
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Search/preview/2024-07-01-preview/search.json#L1259
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Search/preview/2024-07-01-preview/search.json#L1287
⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
Location: Search/preview/2024-07-01-preview/search.json#L1293
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Search/preview/2024-07-01-preview/search.json#L1316
⚠️ PropertyDescription Property should have a description.
Location: Search/preview/2024-07-01-preview/search.json#L1316
⚠️ PropertyDescription Property should have a description.
Location: Search/preview/2024-07-01-preview/search.json#L1318
⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
Location: Search/preview/2024-07-01-preview/search.json#L1400
⚠️ PropertyDescription Property should have a description.
Location: Search/preview/2024-07-01-preview/search.json#L1400
️️✔️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 succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Jul 2, 2024

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Jul 2, 2024

Generated ApiView

Language Package Name ApiView Link
Swagger Search https://apiview.dev/Assemblies/Review/30ba16cfc8324624ae002a76347faac0?revisionId=b2fe6414aedf4851b27032bfb81cccb8

@winest winest force-pushed the feature/billyhung/am_autosuggest branch from e6b0989 to c2b6b79 Compare July 3, 2024 07:04
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