Parcourir la source

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

Pass `parameter.schema` as schema in OAS 3.0
bubble
kyle il y a 7 ans
committed by GitHub
Parent
révision
3387d4762f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/core/components/parameter-row.jsx

+ 1
- 1
src/core/components/parameter-row.jsx Voir le fichier

@@ -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 }/>
}




Chargement…
Annuler
Enregistrer