hotfix: docs build (#198)
* fix: build * fix: build * fix: build * fix: build
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React from "react"
|
||||
import { Flex, Box, Text } from "rebass"
|
||||
import { Flex, Text } from "rebass"
|
||||
import styled from "@emotion/styled"
|
||||
import Markdown from "react-markdown"
|
||||
|
||||
@@ -68,10 +68,14 @@ const DocsReader = ({ tags, spec }) => {
|
||||
path={endpoint.path}
|
||||
/>
|
||||
<Markdown>{endpoint.description}</Markdown>
|
||||
<Parameters endpoint={endpoint} />
|
||||
<Parameters spec={spec} endpoint={endpoint} />
|
||||
</Flex>
|
||||
<Flex py={5} width="45%" flex="1">
|
||||
<JsonBox name={tagName} endpoint={endpoint} />
|
||||
<JsonBox
|
||||
name={tagName}
|
||||
endpoint={endpoint}
|
||||
spec={spec}
|
||||
/>
|
||||
</Flex>
|
||||
</Flex>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user