diff --git a/src/core/plugins/oas3/components/request-body.jsx b/src/core/plugins/oas3/components/request-body.jsx index 05aa3dd0fcd17b2b324a5625fa94aaeaf90c7269..4d1648d635d6f43104d817e45a7dd16032e39b69 100644 --- a/src/core/plugins/oas3/components/request-body.jsx +++ b/src/core/plugins/oas3/components/request-body.jsx @@ -134,7 +134,7 @@ const RequestBody = ({ { - 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")