From c629ad0dff6e3562f7f09c9f7225614ed49b6675 Mon Sep 17 00:00:00 2001 From: Eric Schuh Date: Tue, 4 Jun 2024 09:56:19 -0700 Subject: [PATCH] updated index.html to include the workflow endpoints in the api-component-table section, fixing const variable error in respec-oas --- index.html | 2 +- respec-oas.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 9981327..a504c1f 100644 --- a/index.html +++ b/index.html @@ -739,7 +739,7 @@

Workflow Service

that is expected to call the endpoint

+ data-api-path="/workflows /workflows/{localWorkflowId} /workflows/{localWorkflowId}/exchanges /workflows/{localWorkflowId}/exchanges/{localExchangeId}">
diff --git a/respec-oas.js b/respec-oas.js index 3947553..ebcba69 100644 --- a/respec-oas.js +++ b/respec-oas.js @@ -28,7 +28,7 @@ function buildComponentTables({config, document, apis}) { for(const path of table.dataset.apiPath.split(/\s+/)) { if(path.trim().length > 0) { const endpoint = getEndpoint({apis, path}); - const expectedCaller = endpoint['x-expectedCaller']; + var expectedCaller = endpoint['x-expectedCaller']; const tableRow = document.createElement('tr'); if(expectedCaller === undefined) {