From d67e052ea2dbea224a8b2433eb106b50c12dfc88 Mon Sep 17 00:00:00 2001 From: Eric Schuh Date: Tue, 4 Jun 2024 10:16:46 -0700 Subject: [PATCH] fixing relative endpoint path in respec-oas.js --- respec-oas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/respec-oas.js b/respec-oas.js index 22d9a15..61d33a2 100644 --- a/respec-oas.js +++ b/respec-oas.js @@ -29,7 +29,7 @@ function buildComponentTables({config, document, apis}) { if(path.trim().length > 0) { const endpoint = getEndpoint({apis, path}); for(const verb in endpoint) { - const expectedCaller = endpoint[verb]['x-expectedCaller']; + var expectedCaller = endpoint[verb]['x-expectedCaller']; const tableRow = document.createElement('tr'); if(expectedCaller === undefined) {