diff --git a/src/templates/security-scheme-template.js b/src/templates/security-scheme-template.js index 9f5abf95..90ae525f 100644 --- a/src/templates/security-scheme-template.js +++ b/src/templates/security-scheme-template.js @@ -401,7 +401,7 @@ export default function securitySchemeTemplate() {
${providedApiKeys.length} API key applied
` - : html`
No API key applied
` + : html`
No API key applied - Apply one here
` } ${this.resolvedSpec.securitySchemes && this.resolvedSpec.securitySchemes.length > 0 @@ -411,7 +411,8 @@ export default function securitySchemeTemplate() {
- ${v.typeDisplay} + ${this.resolvedSpec.securitySchemes.filter((secScheme) => secScheme.typeDisplay === v.typeDisplay).length > 1 ? `- + ${v.securitySchemeId}` : null} ${v.finalKeyValue ? html` ${v.finalKeyValue ? 'Key Applied' : ''} @@ -433,13 +434,13 @@ export default function securitySchemeTemplate() {
${v.type.toLowerCase() === 'apikey' ? html`Send ${v.name} in ${v.in}` - : html`Send Authorization in header containing the word Bearer followed by a space and a Token String.` + : html`Send Authorization in header containing the word Bearer followed by a space and the ${e.bearerFormat ?? "Token String"}.` }
${v.in !== 'cookie' ? html` - +