feat(model view): hide applicable readOnly and writeOnly properties (#5832)

This commit is contained in:
blacktemplar
2020-06-15 22:47:26 +02:00
committed by GitHub
parent 59bbe4ff2f
commit f8dd4e68ec
10 changed files with 44 additions and 14 deletions

View File

@@ -105,6 +105,7 @@ export default class ParameterRow extends Component {
// getSampleSchema could return null
const generatedSampleValue = schema ? getSampleSchema(schema.toJS(), parameterMediaType, {
includeWriteOnly: true
}) : null
@@ -331,7 +332,8 @@ export default class ParameterRow extends Component {
isExecute={ isExecute }
specSelectors={ specSelectors }
schema={ schema }
example={ bodyParam }/>
example={ bodyParam }
includeWriteOnly={ true }/>
: null
}