Przeglądaj źródła

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

Pass `parameter.schema` as schema in OAS 3.0
bubble
kyle 7 lat temu
committed by GitHub
rodzic
commit
3387d4762f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/core/components/parameter-row.jsx

+ 1
- 1
src/core/components/parameter-row.jsx Wyświetl plik

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




Ładowanie…
Anuluj
Zapisz