Update documentation for UnifiedVision 2023-04-01-preview
Data Plane API - Pull Request
Update documentation for UnifiedVision 2023-04-01-preview
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.
- 💬 Teams Channel
Click here for links to tools, specs, guidelines & other good stuff
Tooling
- Open API validation tools were run on this PR. Go here to see how to fix errors
- Spectral Linting
- Open API Hub
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.
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
️❌BreakingChange: 14 Errors, 0 Warnings failed [Detail]
| Compared specs (v0.10.8) | new version | base version |
|---|---|---|
| UnifiedVision.json | 2023-04-01-preview(a0129ea) | 2023-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 |
|---|---|---|
| 2023-04-01-preview | 2023-04-01-preview(a0129ea) | 2023-04-01-preview(main) |
The following errors/warnings exist before current PR submission:
| Rule | Message |
|---|---|
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: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1153 |
| :warning: PaginationResponse | Operation might be pageable. Consider adding the x-ms-pageable extension. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L78 |
| :warning: ParameterNamesConvention | Parameter name 'model-version' should be camel case. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L90 |
| :warning: RequestBodyOptional | The body parameter is not marked as required. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L97 |
| :warning: PaginationResponse | Operation might be pageable. Consider adding the x-ms-pageable extension. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L133 |
| :warning: ParameterNamesConvention | Parameter name 'model-version' should be camel case. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L145 |
| :warning: PaginationResponse | Operation might be pageable. Consider adding the x-ms-pageable extension. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L291 |
| :warning: RequestBodyOptional | The body parameter is not marked as required. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L304 |
| :warning: ParameterNamesConvention | Parameter name 'model-name' should be camel case. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L606 |
| :warning: ParameterNamesConvention | Parameter name 'smartcrops-aspect-ratios' should be camel case. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L619 |
| :warning: 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/preview/2023-04-01-preview/UnifiedVision.json#L623 |
| :warning: ParameterNamesConvention | Parameter name 'gender-neutral-caption' should be camel case. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L625 |
| :warning: PatchContentType | A patch operation should consume 'application/merge-patch+json' content type. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L775 |
| :warning: LroHeaders | A 202 response should include an Operation-Location response header. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L1174 |
| :warning: 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/preview/2023-04-01-preview/UnifiedVision.json#L1449 |
| :warning: 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/preview/2023-04-01-preview/UnifiedVision.json#L1827 |
| :warning: SchemaDescriptionOrTitle | Schema should have a description or title. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L2362 |
| :warning: MsPaths | Don't use x-ms-paths except where necessary to support legacy APIs. Location: UnifiedVision/preview/2023-04-01-preview/UnifiedVision.json#L2978 |
| :warning: 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/preview/2023-04-01-preview/UnifiedVision.json#L3173 |
️️✔️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]
Swagger Generation Artifacts
️️✔️ApiDocPreview succeeded [Detail] [Expand]
Please click here to preview with your @microsoft account.
Generated ApiView
| Language | Package Name | ApiView Link |
|---|---|---|
| Swagger | UnifiedVision | https://apiview.dev/Assemblies/Review/87673c38577d4267ab70a0745c126ec7?revisionId=f01beb6bdc97423081e48fd4a5133de0 |
Keeping the original grouping of operations:
PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.
PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.
Hi @mikekistler , could you please approve breaking changes for this PR as well? I updated the operation names to align with other APIs.
/pr RequestMerge