-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Release search azure.search preview/2024 09 01 preview #29734
Release search azure.search preview/2024 09 01 preview #29734
Conversation
Next Steps to Merge✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge. |
Swagger Validation Report
|
Compared specs (v0.10.12) | new version | base version |
---|---|---|
searchindex.json | 2024-09-01-preview(f8c8808) | 2024-07-01(main) |
searchindex.json | 2024-09-01-preview(f8c8808) | 2024-05-01-preview(main) |
searchservice.json | 2024-09-01-preview(f8c8808) | 2024-07-01(main) |
searchservice.json | 2024-09-01-preview(f8c8808) | 2024-05-01-preview(main) |
The following breaking changes are detected by comparison with the latest stable version:
The following breaking changes are detected by comparison with the latest preview version:
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌
LintDiff: 7 Errors, 93 Warnings failed [Detail]
Compared specs (v2.2.2) | new version | base version |
---|---|---|
package-2024-09-01-preview | package-2024-09-01-preview(f8c8808) | default(main) |
[must fix]The following errors/warnings are introduced by current PR:
Only 23 items are listed, please refer to log for more details.
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
MissingTypeObject |
The schema 'LexicalNormalizer' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L3385 |
|
MissingTypeObject |
The schema 'CustomNormalizer' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L3406 |
|
MissingTypeObject |
The schema 'IndexerCurrentState' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L7797 |
|
MissingTypeObject |
The schema 'SearchAlias' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L8524 |
|
MissingTypeObject |
The schema 'ListAliasesResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L8599 |
|
MissingTypeObject |
The schema 'AmlSkill' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L9747 |
|
MissingTypeObject |
The schema 'SearchIndexerCache' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L12290 |
|
Avoid the use of x-nullable. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1352 |
||
Avoid the use of x-nullable. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1744 |
||
Schema should have a description or title. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L2884 |
||
Schema should have a description or title. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L2982 |
||
Path contains non-recommended characters. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L335 |
||
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L351 |
||
Parameter should have a description. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L358 |
||
The body parameter is not marked as required. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L361 |
||
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: Azure.Search/preview/2024-09-01-preview/searchservice.json#L383 |
||
Error response should contain a x-ms-error-code header. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L403 |
||
Error schema should define code and message properties as required.Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L405 |
||
The error property in the error response schema should be required.Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L405 |
||
Don't specify additionalProperties as a sibling of properties. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L797 |
||
Don't specify additionalProperties as a sibling of properties. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L828 |
||
Don't specify additionalProperties as a sibling of properties. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L834 |
||
Don't specify additionalProperties as a sibling of properties. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L930 |
The following errors/warnings exist before current PR submission:
Only 23 items are listed, please refer to log for more details.
Rule | Message |
---|---|
HostParametersValidation |
The host parameter must be typed 'type 'string', format 'url''. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L16 |
MissingTypeObject |
The schema 'SuggestDocumentsResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1177 |
MissingTypeObject |
The schema 'SuggestResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1201 |
MissingTypeObject |
The schema 'FacetResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1216 |
MissingTypeObject |
The schema 'SearchDocumentsResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1228 |
MissingTypeObject |
The schema 'SearchResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1305 |
MissingTypeObject |
The schema 'IndexBatch' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1367 |
MissingTypeObject |
The schema 'IndexAction' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1383 |
MissingTypeObject |
The schema 'IndexingResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1427 |
MissingTypeObject |
The schema 'IndexDocumentsResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L1461 |
MissingTypeObject |
The schema 'SearchRequest' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L2377 |
MissingTypeObject |
The schema 'SuggestRequest' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L2535 |
MissingTypeObject |
The schema 'AutocompleteRequest' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L2596 |
MissingTypeObject |
The schema 'AutocompleteResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L2652 |
MissingTypeObject |
The schema 'AutocompleteItem' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L2676 |
MissingTypeObject |
The schema 'AnswerResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L2695 |
MissingTypeObject |
The schema 'CaptionResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L2724 |
XmsParameterLocation |
The parameter 'ApiVersionParameter' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'. Location: Azure.Search/preview/2024-09-01-preview/searchindex.json#L3060 |
HostParametersValidation |
The host parameter must be typed 'type 'string', format 'url''. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L15 |
LroExtension |
Operations with a 202 response must specify x-ms-long-running-operation: true . GET operation is excluded from the validation as GET will have 202 only if it is a polling action & hence x-ms-long-running-operation wouldn't be definedLocation: Azure.Search/preview/2024-09-01-preview/searchservice.json#L413 |
MissingTypeObject |
The schema 'AnalyzeRequest' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L2031 |
MissingTypeObject |
The schema 'AnalyzeResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L2071 |
MissingTypeObject |
The schema 'AnalyzedTokenInfo' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Azure.Search/preview/2024-09-01-preview/searchservice.json#L2086 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
TypeSpecAPIView succeeded [Detail] [Expand]
️❌
ModelValidation: 234 Errors, 0 Warnings failed [Detail]
Only 23 items are listed, please refer to log for more details.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️❌
PoliCheck: 1 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
|
Click detail for error messages. Exception contact vsswagger@microsoft.com or https://aka.ms/swaggersupport. |
️❌
SpellCheck: 1 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
HowToFix |
Unknown word (Matryoshka), please fix the error. See https://aka.ms/ci-fix#spell-check path: Azure.Search/preview/2024-09-01-preview/searchservice.json#L6369:337 |
️️✔️
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]
Swagger Generation Artifacts
|
Generated ApiView
|
…kill swagger change
dc477be
to
f8c8808
Compare
"description": "The name of the kind of compression method being configured for use with vector search.", | ||
"x-nullable": false | ||
}, | ||
"storeOriginalVectors": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll postpone "HNSW Storage Optimization" to Nov. release, so please help remove "storeOriginalVectors" from 2024-09-01-preview swagger.
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.
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.
Is this review for (select one):
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
write access
per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext 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.and https://aka.ms/ci-fix.
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.