Adding incoming call events to swagger#23431
Merged
Conversation
…omingcall_swagger
This reverts commit 82b4ab3.
|
Hi, @osaghaso 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. vscswagger@microsoft.com |
Swagger Validation Report
|
| compared swaggers (via Oad v0.10.4)] | new version | base version |
|---|---|---|
| AzureCommunicationServices.json | 2018-01-01(03ab280) | 2018-01-01(main) |
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌LintDiff: 1 Errors, 0 Warnings failed [Detail]
| compared tags (via openapi-validator v2.0.1) | new version | base version |
|---|---|---|
| package-2018-01 | package-2018-01(03ab280) | package-2018-01(main) |
[must fix]The following errors/warnings are introduced by current PR:
| Rule | Message | Related RPC [For API reviewers] |
|---|---|---|
MissingTypeObject |
The schema 'AcsIncomingCallEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L10 |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
| Rule | Message |
|---|---|
MissingTypeObject |
The schema 'AcsUserDisconnectedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L45 |
MissingTypeObject |
The schema 'AcsChatMessageReceivedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L54 |
MissingTypeObject |
The schema 'AcsChatMessageReceivedInThreadEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L75 |
MissingTypeObject |
The schema 'AcsChatMessageEditedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L96 |
MissingTypeObject |
The schema 'AcsChatMessageEditedInThreadEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L122 |
MissingTypeObject |
The schema 'AcsChatMessageDeletedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L148 |
MissingTypeObject |
The schema 'AcsChatMessageDeletedInThreadEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L163 |
MissingTypeObject |
The schema 'AcsChatThreadCreatedWithUserEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L178 |
MissingTypeObject |
The schema 'AcsChatThreadCreatedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L206 |
MissingTypeObject |
The schema 'AcsChatThreadWithUserDeletedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L234 |
MissingTypeObject |
The schema 'AcsChatThreadDeletedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L253 |
MissingTypeObject |
The schema 'AcsChatThreadPropertiesUpdatedPerUserEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L272 |
MissingTypeObject |
The schema 'AcsChatThreadPropertiesUpdatedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L298 |
MissingTypeObject |
The schema 'AcsChatParticipantAddedToThreadWithUserEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L324 |
MissingTypeObject |
The schema 'AcsChatParticipantRemovedFromThreadWithUserEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L347 |
MissingTypeObject |
The schema 'AcsChatParticipantAddedToThreadEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L370 |
MissingTypeObject |
The schema 'AcsChatParticipantRemovedFromThreadEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L398 |
MissingTypeObject |
The schema 'AcsSmsDeliveryReportReceivedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L426 |
MissingTypeObject |
The schema 'AcsSmsReceivedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L460 |
MissingTypeObject |
The schema 'AcsRecordingFileStatusUpdatedEventData' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L479 |
MissingTypeObject |
The schema 'AcsChatThreadEventBaseProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L651 |
MissingTypeObject |
The schema 'AcsChatThreadEventInThreadBaseProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L671 |
MissingTypeObject |
The schema 'AcsChatMessageEventBaseProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L691 |
MissingTypeObject |
The schema 'AcsChatMessageEventInThreadBaseProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L727 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L836 |
IntegerTypeMustHaveFormat |
The integer type does not have a format, please add it. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L840 |
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L190 |
|
| additionalProperties with type object is a common error. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L193 |
|
| Property should have a description. Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L193 |
|
| Consider using x-ms-client-flatten to provide a better end user experience Location: Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json#L218 |
️❌Avocado: 2 Errors, 0 Warnings failed [Detail]
| Rule | Message |
|---|---|
UNREFERENCED_JSON_FILE |
The example JSON file is not referenced from the swagger file. readme: specification/eventgrid/data-plane/readme.md json: 2018-01-01/examples/cloud-events-schema/incoming_call.json |
UNREFERENCED_JSON_FILE |
The example JSON file is not referenced from the swagger file. readme: specification/eventgrid/data-plane/readme.md json: 2018-01-01/examples/event-grid-schema/incoming_call.json |
️️✔️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 Generation Artifacts
|
Generated ApiView
|
pgrandhi
reviewed
Apr 4, 2023
...entgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json
Outdated
Show resolved
Hide resolved
pgrandhi
reviewed
Apr 4, 2023
specification/communication/data-plane/Common/stable/2022-07-13/common.json
Outdated
Show resolved
Hide resolved
DominikMe
requested changes
Apr 5, 2023
specification/communication/data-plane/Common/stable/2022-07-13/common.json
Outdated
Show resolved
Hide resolved
...ne/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/incoming_call.json
Outdated
Show resolved
Hide resolved
JoshLove-msft
approved these changes
May 5, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 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 Open API document (swagger) if applicable, and the root paths that have been updated.
❔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