SecuritySchemeBadge

Domain · API Doc

Badge variant of SecurityBadge that uses the design-system Badge component for consistent styling.

Pill variants

Preview
BearerAuth ApiKey
Code
<%- include('modules/domain/api-doc/SecuritySchemeBadge', { scheme: { name: 'BearerAuth', type: 'http' } }) %>
<%- include('modules/domain/api-doc/SecuritySchemeBadge', { scheme: { name: 'ApiKey', type: 'apiKey' } }) %>
Source modules/domain/api-doc/SecuritySchemeBadge.ejs