We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 704565c commit 236f26aCopy full SHA for 236f26a
src/templates/security-scheme-template.js
@@ -408,7 +408,9 @@ export default function securitySchemeTemplate() {
408
${this.resolvedSpec.securitySchemes && this.resolvedSpec.securitySchemes.length > 0
409
? html`
410
<table role="presentation" id="auth-table" class='m-table padded-12' style="width:100%;">
411
- ${this.resolvedSpec.securitySchemes.map((v) => html`
+ ${this.resolvedSpec.securitySchemes
412
+ .filter((v) => v.scheme && v.type)
413
+ .map((v) => html`
414
<tr id="security-scheme-${v.securitySchemeId}" class="${v.type.toLowerCase()}">
415
<td style="max-width:500px; overflow-wrap: break-word;">
416
<div style="line-height:28px; margin-bottom:5px;">
0 commit comments