chore: Add OpenAPI support for the Rocket.Chat e2e.updateGroupKey endpoints#39094
Conversation
…points - migrating to a modern chained route definition syntax and utilizing shared AJV schemas for validation to enhance API documentation and ensure type safety through response validation.
|
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: e1cb845 The changes in this PR will be included in the next version bump. This PR includes changesets to release 41 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
WalkthroughThis pull request migrates the e2e.updateGroupKey endpoint from a separate, publicly exported definition pattern to a localized implementation using the new OpenAPI-supported chained route syntax. Types, schemas, and validators are consolidated locally within the main API file, with corresponding public exports removed from the rest-typings package. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Warning Tools execution failed with the following error: Failed to run tools: 14 UNAVAILABLE: read ECONNRESET Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #39094 +/- ##
===========================================
+ Coverage 70.66% 70.68% +0.01%
===========================================
Files 3190 3191 +1
Lines 112732 112968 +236
Branches 20418 20511 +93
===========================================
+ Hits 79666 79853 +187
- Misses 31016 31071 +55
+ Partials 2050 2044 -6
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
@ggazzo 👍 |
|
/jira ARCH-1935 |
Description:
This PR integrates OpenAPI support into the
Rocket.Chat API, migrate ofRocket.Chat APIendpoints to the new OpenAPI pattern. The update includes improved API documentation, enhanced type safety, and response validation using AJV.Key Changes:
Issue Reference:
Relates to #34983, part of the ongoing OpenAPI integration effort.
Testing:
Looking forward to your feedback! 🚀
Task: ARCH-2012
COMM-144
Summary by CodeRabbit
New Features
Refactor