From 538a48919c2e23206a5d445d2941ce4d55c06c3c Mon Sep 17 00:00:00 2001 From: Travis Hoover Date: Wed, 5 Aug 2026 11:58:22 -0700 Subject: [PATCH] Allow platform chat namespace in post-transform smoke tests. The new Platform API POST /api/chat endpoint uses x-speakeasy-group chat, which is a valid top-level SDK namespace alongside agents, search, and skills. --- tests/post_transform_smoke.test.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/post_transform_smoke.test.js b/tests/post_transform_smoke.test.js index f56bd3c0..58d788fa 100644 --- a/tests/post_transform_smoke.test.js +++ b/tests/post_transform_smoke.test.js @@ -182,6 +182,12 @@ describe('Post-transformation smoke tests', () => { group: 'search', nameOverride: 'query', }, + { + path: '/api/chat', + method: 'post', + group: 'chat', + nameOverride: 'create', + }, ]; for (const { path, method, group, nameOverride } of platformOps) { @@ -222,7 +228,7 @@ describe('Post-transformation smoke tests', () => { // without a group silently falls back to its `tags` and leaks a method to // the SDK top level. The top level is reserved for the Platform API, so // client/indexing operations must be nested under `client.*` / `indexing.*`. - const platformSegments = new Set(['agents', 'search', 'skills']); + const platformSegments = new Set(['agents', 'chat', 'search', 'skills']); const allowedTopLevelSegments = new Set([ 'client', 'indexing',