Skip to content

Updating examples and documents#26840

Merged
jhendrixMSFT merged 3 commits into
mainfrom
chat/2023-11-15-preview-update
Nov 29, 2023
Merged

Updating examples and documents#26840
jhendrixMSFT merged 3 commits into
mainfrom
chat/2023-11-15-preview-update

Conversation

@JoshuaLai
Copy link
Copy Markdown
Member

@JoshuaLai JoshuaLai commented Nov 24, 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 is just an update to examples and documentation

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.

@openapi-pipeline-app
Copy link
Copy Markdown

openapi-pipeline-app Bot commented Nov 24, 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
Copy Markdown

openapi-pipeline-app Bot commented Nov 24, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
compared swaggers (via Oad v0.10.4)] new version base version
communicationserviceschat.json 2023-11-15-preview(c2afccf) 2023-11-15-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.6) new version base version
package-2023-11-15-preview package-2023-11-15-preview(c2afccf) package-2023-11-15-preview(main)

The following errors/warnings exist before current PR submission:

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

Rule Message
OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Chat' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L781
OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Chat' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L858
OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'ChatThread' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L934
OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'ChatThread' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L1006
OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'Chat' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L1069
HostParametersValidation The host parameter must be typed 'type 'string', format 'url''.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L1812
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L20
⚠️ DefaultResponse Operation is missing a default response.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L45
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L52
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L59
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L66
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L73
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L104
⚠️ DefaultResponse Operation is missing a default response.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L124
⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L125
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L128
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L135
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L142
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L149
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L178
⚠️ DefaultResponse Operation is missing a default response.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L198
⚠️ Post201Response Using post for a create operation is discouraged.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L199
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L205
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L212
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L219
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L226
⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L250
⚠️ DefaultResponse Operation is missing a default response.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L275
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L282
⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
Location: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L289
️️✔️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
Copy Markdown

openapi-pipeline-app Bot commented Nov 24, 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
Copy Markdown

openapi-pipeline-app Bot commented Nov 24, 2023

Generated ApiView

Language Package Name ApiView Link
Swagger communication-data-plane-Chat https://apiview.dev/Assemblies/Review/231a6ca21fed4852a88746df73d319dc

@JoshuaLai JoshuaLai marked this pull request as ready for review November 27, 2023 22:53
@JoshuaLai JoshuaLai requested a review from a team as a code owner November 27, 2023 22:53
@JoshuaLai JoshuaLai requested review from johanste and tg-msft and removed request for a team November 27, 2023 22:53
@jhendrixMSFT jhendrixMSFT merged commit 4eb1ac2 into main Nov 29, 2023
@jhendrixMSFT jhendrixMSFT deleted the chat/2023-11-15-preview-update branch November 29, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants