From 6944c2a96920de1d8258ed4d07a574262418d081 Mon Sep 17 00:00:00 2001 From: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Date: Fri, 22 May 2026 03:10:29 -0700 Subject: [PATCH] fix(omnichannel): correct vi -> v1 in request-transcript path `omnichannel.yaml:7201` declared the Request PDF Transcript endpoint at `/api/vi/omnichannel/{rid}/request-transcript` (with `vi` instead of `v1`), and the matching `operationId` at line 7216 carried the same `vi` -> `v1` typo. Because client SDKs and generated bindings consume this spec directly, the entry shipped a path that resolves to a non-existent endpoint at runtime. Replace `vi` with `v1` in both the path and the operationId so the spec matches the actual Rocket.Chat REST API namespace used by every other endpoint in the same file (e.g. `/api/v1/omnichannel/contact`, `/api/v1/omnichannel/contacts`). Fixes #219 --- omnichannel.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/omnichannel.yaml b/omnichannel.yaml index 658de7e..f69bdc4 100644 --- a/omnichannel.yaml +++ b/omnichannel.yaml @@ -7198,7 +7198,7 @@ paths: $ref: '#/components/responses/authorizationError' '403': $ref: '#/components/responses/permissionError' - '/api/vi/omnichannel/{rid}/request-transcript': + '/api/v1/omnichannel/{rid}/request-transcript': post: summary: Request PDF Transcript description: |- @@ -7213,7 +7213,7 @@ paths: | Version | Description | | ---------------- | ------------| |6.0.0 | Added | - operationId: post-api-vi-omnichannel-rid-request-transcript + operationId: post-api-v1-omnichannel-rid-request-transcript parameters: - name: rid in: path