Skip to content

Conversation

@Kai-lash
Copy link
Member

@Kai-lash Kai-lash commented Dec 6, 2023

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 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

Checks stuck in `queued` state? 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.

@Kai-lash Kai-lash requested a review from yangyuan as a code owner December 6, 2023 23:07
@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 6, 2023

Next Steps to Merge

✔️ All automated merging requirements have been met! Refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM).

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 6, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 57 Warnings warning [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
UnifiedVision.json 2023-10-01(8c5155b) 2023-04-01-preview(main)

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

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

Rule Message
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/imageanalysis:segment' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L9:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/retrieval:vectorizeText' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L80:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/retrieval:vectorizeImage' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L138:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/imagecomposition:stitch' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L197:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/imagecomposition:rectify' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L251:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/planogramcompliance:match' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L305:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/productrecognition/{modelName}/runs/{runName}' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L357:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/productrecognition/{modelName}/runs' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L527:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/datasets/{name}' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L702:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/datasets' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L929:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/models/{name}' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L993:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/models' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1148:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/models/{name}:cancel' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1212:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/models/{name}/evaluations/{evaluationName}' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1259:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/models/{name}/evaluations' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1441:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/imageanalysis:segment?overload=stream' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L3054:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/retrieval:vectorizeImage?overload=stream' removed or restructured?
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L3131:5
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ImageMetadataApiModel' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ImageRectificationControlPointsApiModel' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ImageRectificationRequestApiModel' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ImageStitchingRequestApiModel' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NormalizedCoordinateApiModel' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'PlanogramApiModel' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'PlanogramMatchingRequestApiModel' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ProductRecognitionResultApiModel' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'VectorizeTextRequestApiModel' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Dataset' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Model' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ModelEvaluation' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ModelEvaluationParameters' removed or renamed?
New: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L147:3
Old: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1515:3
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 2 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.6) new version base version
release_2023_10_01 release_2023_10_01(8c5155b) default(main)

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

Rule Message Related RPC [For API reviewers]
⚠️ ParameterNamesConvention Parameter name 'model-version' should be camel case.
Location: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L85
⚠️ 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: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L751


The following errors/warnings exist before current PR submission:

Rule Message
⚠️ ParameterNamesConvention Parameter name 'smartcrops-aspect-ratios' should be camel case.
Location: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L92
⚠️ 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: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L97
⚠️ ParameterNamesConvention Parameter name 'gender-neutral-caption' should be camel case.
Location: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L99
⚠️ MsPaths Don't use x-ms-paths except where necessary to support legacy APIs.
Location: UnifiedVision/stable/2023-10-01/UnifiedVision.json#L664
️️✔️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?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 6, 2023

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

Breaking Changes Tracking

Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 6, 2023

Generated ApiView

Language Package Name ApiView Link
Swagger cognitiveservices-data-plane-UnifiedVision https://apiview.dev/Assemblies/Review/d2b904ca49d44ad69e423c892c3ff846

@mikekistler mikekistler linked an issue Dec 7, 2023 that may be closed by this pull request
@mikekistler mikekistler added the APIStewardshipBoard-SignedOff The Azure API Stewardship team has reviewed and approved the changes. label Dec 7, 2023
@jhendrixMSFT jhendrixMSFT merged commit fb58fe1 into Azure:main Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

APIStewardshipBoard-SignedOff The Azure API Stewardship team has reviewed and approved the changes. data-plane

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Cognitive Services Computer Vision API ] API Review

4 participants