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

@@ -237,6 +237,7 @@ const RequestBody = ({
)}
/>
}
includeWriteOnly={true}
/>
)
}

View File

@@ -10,7 +10,9 @@ class ModelComponent extends Component {
getComponent: PropTypes.func.isRequired,
getConfigs: PropTypes.func.isRequired,
specSelectors: PropTypes.object.isRequired,
expandDepth: PropTypes.number
expandDepth: PropTypes.number,
includeReadOnly: PropTypes.bool,
includeWriteOnly: PropTypes.bool,
}
render(){