From 3332ae263faa7b6d46248a91a3ad004fad428d7b Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Wed, 19 Aug 2026 07:42:54 -0700 Subject: [PATCH] Align OpenAPI 3.2 URL expectations with base URL variables (#594) --- plugins/importer-openapi/tests/index.test.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/plugins/importer-openapi/tests/index.test.ts b/plugins/importer-openapi/tests/index.test.ts index 4fbbd08b..da2c688c 100644 --- a/plugins/importer-openapi/tests/index.test.ts +++ b/plugins/importer-openapi/tests/index.test.ts @@ -30,8 +30,16 @@ describe("importer-openapi", () => { ); expect(imported?.resources.httpRequests).toEqual([ - expect.objectContaining({ method: "QUERY", name: "Query resources", url: "/resources" }), - expect.objectContaining({ method: "COPY", name: "Copy resources", url: "/resources" }), + expect.objectContaining({ + method: "QUERY", + name: "Query resources", + url: "${[baseUrl]}/resources", + }), + expect.objectContaining({ + method: "COPY", + name: "Copy resources", + url: "${[baseUrl]}/resources", + }), ]); });