未验证 提交 0199b478 编写于 作者: G geraldglynn 提交者: GitHub

fix: Add `entrySeq()` to `bodyProperties.map()` (#6267)

* Added immutable guard to  bodyProperties
上级 f79e45be
......@@ -134,7 +134,7 @@ const RequestBody = ({
<table>
<tbody>
{
bodyProperties.map((prop, key) => {
Map.isMap(bodyProperties) && bodyProperties.entrySeq().map(([key, prop]) => {
let commonExt = showCommonExtensions ? getCommonExtensions(prop) : null
const required = schemaForMediaType.get("required", List()).includes(key)
const type = prop.get("type")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册