Skip to content

Commit

Permalink
feat: display scope description as markdown, fixes #466
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed May 14, 2018
1 parent 2cf4c3c commit 0d6deff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SecuritySchemes/SecuritySchemes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 0d6deff

Please sign in to comment.