-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Sip - remove example and update description. #24533
Conversation
Hi, @dzeliar Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected] |
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
communicationservicessiprouting.json | 2023-04-01-preview(cc853b9) | 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 tags (via openapi-validator v2.1.3) | new version | base version |
---|---|---|
package-preview-2023-04 | package-preview-2023-04(cc853b9) | package-preview-2023-04(main) |
The following errors/warnings exist before current PR submission:
Rule | Message |
---|---|
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: SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json#L527 |
HostParametersValidation |
The host parameter must be typed 'type 'string', format 'url''. Location: SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json#L575 |
Based on the response model schema, operation 'SipRouting_Get' might be pageable. Consider adding the x-ms-pageable extension. Location: SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json#L13 |
|
Operation might be pageable. Consider adding the x-ms-pageable extension. Location: SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json#L13 |
|
The body parameter is not marked as required. Location: SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json#L72 |
|
Operation might be pageable. Consider adding the x-ms-pageable extension. Location: SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json#L109 |
|
The body parameter is not marked as required. Location: SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json#L133 |
|
Error response should contain a x-ms-error-code header. Location: SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json#L149 |
|
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: SipRouting/preview/2023-04-01-preview/communicationservicessiprouting.json#L404 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ApiReadinessCheck succeeded [Detail] [Expand]
️⚠️
~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]
API Test is not triggered due to precheck failure. Check pipeline log for details.
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
CadlAPIView 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.
️️✔️
PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️
CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️
TypeSpec Validation succeeded [Detail] [Expand]
Validation passes for TypeSpec Validation.
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger pipeline restarted successfully, please wait for status update in this comment. |
Generated ApiView
|
Hello @markweitzel , @mikekistler. Could you please do an async review of this change without a board review? We need to rollout generated API documentation ASAP as this is a blocker to go live. The PR doesn't include any changes to the API functionality, it only updates definition and examples to fix issues we have with generated documentation.
|
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.
Looks good! 👍
@jhendrixMSFT This is just a documentation update and all looks fine to me. It is good to merge. |
Data Plane API - Pull Request
API Info: The Basics
Non-breaking update of the description & example for purpose of generating a correct documentation. Tracking story: https://dev.azure.com/msft-skilling/Content/_workitems/edit/95672
Is this review for (select one):
Change Scope
This is a non-breaking change that contains the following updates:
❔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