Explorar el Código

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

Pass `parameter.schema` as schema in OAS 3.0
bubble
kyle hace 7 años
committed by GitHub
padre
commit
3387d4762f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/core/components/parameter-row.jsx

+ 1
- 1
src/core/components/parameter-row.jsx Ver fichero

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




Cargando…
Cancelar
Guardar