improvement: showCommonExtensions support for OAS3 parameters (#5901)

Co-authored-by: kyle shockey <kyleshockey@gmail.com>
This commit is contained in:
Helen Kosova
2020-03-09 03:01:18 +03:00
committed by GitHub
parent 67f9f8e1ba
commit e20d425515

View File

@@ -220,7 +220,7 @@ export default class ParameterRow extends Component {
let itemType = schema.getIn(["items", "type"])
let value = paramWithMeta ? paramWithMeta.get("value") : ""
let commonExt = showCommonExtensions ? getCommonExtensions(param) : null
let commonExt = showCommonExtensions ? getCommonExtensions(schema) : null
let extensions = showExtensions ? getExtensions(param) : null
let paramItems // undefined