mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 13:44:54 +03:00
show security displayName
This commit is contained in:
parent
92e27b39e1
commit
736a28f58a
|
@ -70,7 +70,7 @@ export class SecurityRequirement extends React.PureComponent<SecurityRequirement
|
|||
{security.schemes.map(scheme => {
|
||||
return (
|
||||
<SecurityRequirementAndWrap key={scheme.id}>
|
||||
<Link to={scheme.sectionId}>{scheme['x-displayName'] || scheme.id}</Link>
|
||||
<Link to={scheme.sectionId}>{scheme.displayName}</Link>
|
||||
{scheme.scopes.length > 0 && ' ('}
|
||||
{scheme.scopes.map(scope => (
|
||||
<ScopeName key={scope}>{scope}</ScopeName>
|
||||
|
|
Loading…
Reference in New Issue
Block a user