mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 01:54:08 +03:00
feat: display scope description as markdown, fixes #466
This commit is contained in:
parent
2cf4c3cd7b
commit
0d6deff8c8
|
@ -60,7 +60,7 @@ export class OAuthFlow extends React.PureComponent<OAuthFlowProps> {
|
|||
<ul>
|
||||
{Object.keys(flow!.scopes).map(scope => (
|
||||
<li key={scope}>
|
||||
<code>{scope}</code> - {flow!.scopes[scope]}
|
||||
<code>{scope}</code> - <Markdown inline={true} source={flow!.scopes[scope] || ''} />
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue
Block a user