hotfix: docs build (#198)

* fix: build

* fix: build

* fix: build

* fix: build
This commit is contained in:
Sebastian Rindom
2021-03-10 16:15:06 +01:00
committed by GitHub
parent 82d2c352b2
commit 1e5a1398d8
20 changed files with 12875 additions and 328 deletions

View File

@@ -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>
))}