Skip to content

Commit

Permalink
Merge pull request #3796 from swagger-api/bug/editor-1530-array-param…
Browse files Browse the repository at this point in the history
…eter-input

Pass `parameter.schema` as schema in OAS 3.0
  • Loading branch information
shockey committed Oct 20, 2017
2 parents 9a442b1 + 631e69f commit 3387d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/components/parameter-row.jsx
Expand Up @@ -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 }/>
}


Expand Down

0 comments on commit 3387d47

Please sign in to comment.