Skip to content

Commit

Permalink
updated index.html to include the workflow endpoints in the api-compo…
Browse files Browse the repository at this point in the history
…nent-table section, fixing const variable error in respec-oas
  • Loading branch information
Eric Schuh committed Jun 4, 2024
1 parent bc2197c commit c629ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ <h4>Workflow Service</h4>
that is expected to call the endpoint
</p>
<table class="simple api-component-table"
data-api-path="/exchanges"></table>
data-api-path="/workflows /workflows/{localWorkflowId} /workflows/{localWorkflowId}/exchanges /workflows/{localWorkflowId}/exchanges/{localExchangeId}"></table>

</section>
<section>
Expand Down
2 changes: 1 addition & 1 deletion respec-oas.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c629ad0

Please sign in to comment.