MCPcopy
hub / github.com/rapi-doc/RapiDoc / renderShortFormatExamples

Method renderShortFormatExamples

src/components/api-request.js:299–303  ·  view source on GitHub ↗
(examples, paramType, paramName)

Source from the content-addressed store, hash-verified

297 }
298
299 renderShortFormatExamples(examples, paramType, paramName) {
300 return html`${examples.map((x, i) => html`
301 ${i === 0 ? '' : '┃'}
302 ${this.renderExample(x, paramType, paramName)}`)}`;
303 }
304
305 renderLongFormatExamples(exampleList, paramType, paramName) {
306 return html` <ul style="list-style-type: disclosure-closed;">

Callers 1

exampleListTemplateMethod · 0.95

Calls 3

renderExampleMethod · 0.95
htmlFunction · 0.85
mapMethod · 0.45

Tested by

no test coverage detected