Skip to content

Commit 5bdb91c

Browse files
authored
Merge pull request linode#64 from alioso/CT-871
CT-871 add missing enum in requestBody
2 parents 3b86f3b + 621b351 commit 5bdb91c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/2_molecules/BodySchema.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { getOr } from "lodash/fp";
22
import React from "react";
33
import Markdown from "react-markdown/with-html";
44

5+
import Enum from "./Enum";
56
import Filterable from "./Filterable";
67
import Nullable from "./Nullable";
78
import SubResponse from "./SubResponse";
@@ -97,6 +98,7 @@ export const BodySchema = props => {
9798
<span className="tag tag-deprecated">Deprecated</span>
9899
</div>
99100
)}
101+
{b.enum && <Enum dataSource={b} />}
100102
<Markdown
101103
source={b.description}
102104
escapeHtml={false}

0 commit comments

Comments
 (0)