Set writeOnly flags in correct places

This commit is contained in:
Kyle Shockey
2017-08-03 17:42:04 -07:00
parent 9af5d2dc66
commit 15b70b6f2d
3 changed files with 13 additions and 4 deletions

View File

@@ -16,7 +16,9 @@ const RequestBody = ({ requestBody, getComponent, specSelectors, contentType })
const mediaTypeValue = requestBodyContent.get(contentType)
const sampleSchema = getSampleSchema(mediaTypeValue.get("schema").toJS(), contentType)
const sampleSchema = getSampleSchema(mediaTypeValue.get("schema").toJS(), contentType, {
includeWriteOnly: true
})
return <div>
{ requestBodyDescription &&