From 155d2145094159183af0867fe291447644ee3d3c Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Tue, 27 Nov 2018 11:43:31 +0200 Subject: [PATCH] feat: add support for markdown in Server Object --- src/components/Endpoint/Endpoint.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Endpoint/Endpoint.tsx b/src/components/Endpoint/Endpoint.tsx index 08e7f7b7..00d7bda0 100644 --- a/src/components/Endpoint/Endpoint.tsx +++ b/src/components/Endpoint/Endpoint.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; import { ShelfIcon } from '../../common-elements'; import { OperationModel } from '../../services'; +import { Markdown } from '../Markdown/Markdown'; import { OptionsContext } from '../OptionsProvider'; import { SelectOnClick } from '../SelectOnClick/SelectOnClick'; @@ -61,7 +62,7 @@ export class Endpoint extends React.Component { {operation.servers.map(server => ( -
{server.description}
+