feat: Add OpenAPI Support to chat.postMessage API#36090
feat: Add OpenAPI Support to chat.postMessage API#36090ahmed-n-abdeltwab wants to merge 3 commits intoRocketChat:developfrom
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
🦋 Changeset detectedLatest commit: dd24f9a 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 |
|
Hey, @cardoso, the Rocket.Chat/apps/meteor/app/api/server/v1/chat.ts Lines 466 to 472 in a9e1f46 |
372a6e6 to
e336a45
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #36090 +/- ##
===========================================
+ Coverage 70.66% 70.69% +0.02%
===========================================
Files 3191 3191
Lines 112965 112963 -2
Branches 20451 20464 +13
===========================================
+ Hits 79829 79861 +32
+ Misses 31088 31057 -31
+ Partials 2048 2045 -3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
@cardoso, I think this is going to work now. I tested it locally, and everything looks good. |
|
this pr need an update |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
…ndpoints 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.
303e3cc to
2e4fe2b
Compare
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:
Endpoints:
Looking forward to your feedback! 🚀