Skip to content

Rename retention policy APIs#27593

Merged
LuChen-Microsoft merged 1 commit intojimchou/ms-communication-chat-2024-03-15-previewfrom
luc/rename-retention-policy
Jan 30, 2024
Merged

Rename retention policy APIs#27593
LuChen-Microsoft merged 1 commit intojimchou/ms-communication-chat-2024-03-15-previewfrom
luc/rename-retention-policy

Conversation

@LuChen-Microsoft
Copy link
Member

Rename the class/base class based on Azure DevEx Architecture Board review.
This swagger version is not implemented/implemented yet. There's no breaking change.

Rename:

base class name: RetentionPolicy -> ChatRetentionPolicy

property name: daysAfterCreation -> deleteThreadAfterDays

discriminator: policyType -> kind

@LuChen-Microsoft LuChen-Microsoft requested a review from a team as a code owner January 30, 2024 23:10
@LuChen-Microsoft LuChen-Microsoft requested review from bexxx and vicancy and removed request for a team January 30, 2024 23:10
@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jan 30, 2024

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

openapi-pipeline-app bot commented Jan 30, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️⚠️Breaking Change(Cross-Version): 1 Warnings warning [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
communicationserviceschat.json 2024-03-15-preview(8105fb8) 2023-11-07(main)
communicationserviceschat.json 2024-03-15-preview(8105fb8) 2023-11-15-preview(main)

The following breaking changes are detected by comparison with the latest preview version:

Rule Message
⚠️ 1003 - RequestBodyFormatNoLongerSupported The new version does not support 'application/merge-patch+json' as a request body format.
New: Chat/preview/2024-03-15-preview/communicationserviceschat.json#L1132:9
Old: Chat/preview/2023-11-15-preview/communicationserviceschat.json#L1132:9
️️✔️LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
️️✔️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.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️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

openapi-pipeline-app bot commented Jan 30, 2024

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

openapi-pipeline-app bot commented Jan 30, 2024

Generated ApiView

Language Package Name ApiView Link
Swagger Chat https://apiview.dev/Assemblies/Review/7de49151a2ee45d29d87eee0aa5da23b?revisionId=81ce4c54ae2e43169b3fada2a8a18619

@LuChen-Microsoft LuChen-Microsoft merged commit fac4ae6 into jimchou/ms-communication-chat-2024-03-15-preview Jan 30, 2024
@LuChen-Microsoft LuChen-Microsoft deleted the luc/rename-retention-policy branch January 30, 2024 23:21
ms-zhenhua pushed a commit that referenced this pull request Mar 21, 2024
…#27225)

* add new API version with image upload API's

* fix lint issue

* add new api version to readme

* add name property to UploadChatImageResponse

* fix typo

* add data retention to 2024-03-15-preview (#27537)

* rename UploadChatImageResponse to Result

* minor change in wording for startTIme description

* resolve PR comments

* remove description from x-ms-enum because CI error

* resolve review comments

* remove un-used definition

* rename retention policy apis (#27593)

* resolve CI issue

* resolve PR comments

* fix typo

* fix model validation

* move incorrectly placed imageViewType

* add MicrosoftTeamsAppIdentifierModel

---------

Co-authored-by: luc <44377201+LuChen-Microsoft@users.noreply.github.com>
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.

3 participants