fix: Add entrySeq() to bodyProperties.map() (#6267)
* Added immutable guard to bodyProperties
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user