mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-10 16:22:27 +03:00
Display Security Scheme Name instead of ID
This commit is contained in:
parent
9852b8411a
commit
90c8f3131e
|
@ -58,7 +58,7 @@ export function SecurityRequirements(props: SecurityRequirementsProps) {
|
||||||
operationSecuritySchemes.map((scheme, idx) => (
|
operationSecuritySchemes.map((scheme, idx) => (
|
||||||
<SecurityDetailsStyle key={idx}>
|
<SecurityDetailsStyle key={idx}>
|
||||||
<h5>
|
<h5>
|
||||||
<LockIcon /> {AUTH_TYPES[scheme.type] || scheme.type}: {scheme.id}
|
<LockIcon /> {AUTH_TYPES[scheme.type] || scheme.type}: {scheme.displayName}
|
||||||
</h5>
|
</h5>
|
||||||
<Markdown source={scheme.description || ''} />
|
<Markdown source={scheme.description || ''} />
|
||||||
<SecurityDetails
|
<SecurityDetails
|
||||||
|
|
Loading…
Reference in New Issue
Block a user