-
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
Update Face spec #29120
Update Face spec #29120
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.8) | new version | base version |
---|---|---|
Face.json | v1.1-preview.1(e39a80a) | v1.1-preview.1(main) |
Rule | Message |
---|---|
1020 - AddedEnumValue |
The new version is adding enum value(s) 'PassiveActive' from the old version. New: Face/preview/v1.1-preview.1/Face.json#L7437:9 Old: Face/preview/v1.1-preview.1/Face.json#L7437:9 |
1020 - AddedEnumValue |
The new version is adding enum value(s) 'PassiveActive' from the old version. New: Face/preview/v1.1-preview.1/Face.json#L8628:5 Old: Face/preview/v1.1-preview.1/Face.json#L8628:5 |
️️✔️
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 |
---|---|---|
v1.1-preview.1 | v1.1-preview.1(e39a80a) | v1.1-preview.1(main) |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
API version should be a date in YYYY-MM-DD format, optionally suffixed with '-preview'. Location: Face/preview/v1.1-preview.1/Face.json#L5 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L92 |
|
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: Face/preview/v1.1-preview.1/Face.json#L167 |
|
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: Face/preview/v1.1-preview.1/Face.json#L272 |
|
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: Face/preview/v1.1-preview.1/Face.json#L280 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L354 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L407 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L448 |
|
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Face/preview/v1.1-preview.1/Face.json#L449 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L487 |
|
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Face/preview/v1.1-preview.1/Face.json#L488 |
|
A delete operation should have a 204 response.Location: Face/preview/v1.1-preview.1/Face.json#L496 |
|
All success responses except 202 & 204 should define a response body. Location: Face/preview/v1.1-preview.1/Face.json#L497 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L524 |
|
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Face/preview/v1.1-preview.1/Face.json#L525 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L586 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L642 |
|
Check for appropriate use of formData parameters. Location: Face/preview/v1.1-preview.1/Face.json#L643 |
|
Check for appropriate use of formData parameters. Location: Face/preview/v1.1-preview.1/Face.json#L646 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L681 |
|
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Face/preview/v1.1-preview.1/Face.json#L682 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L720 |
|
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Face/preview/v1.1-preview.1/Face.json#L721 |
|
A delete operation should have a 204 response.Location: Face/preview/v1.1-preview.1/Face.json#L729 |
|
All success responses except 202 & 204 should define a response body. Location: Face/preview/v1.1-preview.1/Face.json#L730 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L757 |
|
Path parameter should specify a maximum length (maxLength) and characters allowed (pattern). Location: Face/preview/v1.1-preview.1/Face.json#L758 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L819 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L875 |
|
Operation does not define an 'api-version' query parameter. Location: Face/preview/v1.1-preview.1/Face.json#L917 |
️️✔️
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
|
Generated ApiView
|
"Passive", | ||
|
||
@doc("This mode utilizes a hybrid passive or active liveness technique that necessitates user cooperation. It is optimized to require active motion only under suboptimal lighting conditions. Unlike the passive mode, this mode has no lighting restrictions, and thus offering a broader operational envelope. This mode is preferable on Web based solutions due to the lack of automatic screen brightness control available on browsers which hinders the Passive mode’s operational envelope on Web based solutions.") | ||
"PassiveActive", |
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.
PassiveActive
is already in our service and has been there from the beginning. We wanted to hide though since the other component was not ready yet. It should be published for now.
* Rename url as uri for cs * Add PassiveActive for liveness * Update OAS
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
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.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.