Merge pull request #3796 from swagger-api/bug/editor-1530-array-parameter-input

Pass `parameter.schema` as schema in OAS 3.0
This commit is contained in:
kyle
2017-10-20 16:58:04 -07:00
committed by GitHub

View File

@@ -115,7 +115,7 @@ export default class ParameterRow extends Component {
required={ required }
description={param.get("description") ? `${param.get("name")} - ${param.get("description")}` : `${param.get("name")}`}
onChange={ this.onChangeWrapper }
schema={ param }/>
schema={ isOAS3 && isOAS3() ? param.get("schema") : param }/>
}