diff --git a/src/components/api-request.js b/src/components/api-request.js index 33675a84..894d3dd8 100644 --- a/src/components/api-request.js +++ b/src/components/api-request.js @@ -302,7 +302,7 @@ export default class ApiRequest extends LitElement { } return html` -
${title}${paramLocation === 'path' ? html`*` : ''}
+
${title}${paramLocation === 'path' ? html`*` : ''}
${tableRows} @@ -627,18 +627,21 @@ export default class ApiRequest extends LitElement { ${!hasResponse ? '' : html``}
-
-
-
- - ${!hasResponse ? '' : html` - - ` - } -
+ ${hasResponse + ? html` +
+ + + +
` + : html` +
+
${getI18nText('operations.request')}
+
` + }
${this.responseIsBlob ? html` @@ -659,14 +662,14 @@ export default class ApiRequest extends LitElement {
` : html`
- +
` }
- +
- +
`; } diff --git a/src/components/api-response.js b/src/components/api-response.js index 6b30e6fe..aa42c992 100644 --- a/src/components/api-response.js +++ b/src/components/api-response.js @@ -275,7 +275,7 @@ export default class ApiResponse extends LitElement { ? html` ${mimeRespDetails.examples[0].exampleSummary && mimeRespDetails.examples[0].exampleSummary.length > 80 ? html`
${mimeRespDetails.examples[0].exampleSummary}
` : ''} ${mimeRespDetails.examples[0].exampleDescription ? html`
${unsafeHTML(toMarkdown(mimeRespDetails.examples[0].exampleDescription || ''))}
` : ''} - ` + ` : html` `; @@ -407,7 +407,7 @@ export default function securitySchemeTemplate() {
${getI18nText('headers.authentication')}
-
+
${providedApiKeys.length > 0 ? html`
${providedApiKeys.length} API key applied
@@ -498,20 +498,20 @@ export function pathSecurityTemplate(pathSecurityOptions) { securityDefs: andSecurityKeys1, }); }); - return html`
+ return html`
- + ${orSecurityKeys1.map((orSecurityItem1, i) => html` ${i !== 0 ? html`
OR
` : ''} -
+
${orSecurityItem1.securityTypes}
-
+