Hide main Responses ContentType picker for OAS3
This commit is contained in:
@@ -39,13 +39,13 @@ export default class Responses extends React.Component {
|
|||||||
<div className="responses-wrapper">
|
<div className="responses-wrapper">
|
||||||
<div className="opblock-section-header">
|
<div className="opblock-section-header">
|
||||||
<h4>Responses</h4>
|
<h4>Responses</h4>
|
||||||
<label>
|
{ specSelectors.isOAS3() ? null : <label>
|
||||||
<span>Response content type</span>
|
<span>Response content type</span>
|
||||||
<ContentType value={producesValue}
|
<ContentType value={producesValue}
|
||||||
onChange={this.onChangeProducesWrapper}
|
onChange={this.onChangeProducesWrapper}
|
||||||
contentTypes={produces}
|
contentTypes={produces}
|
||||||
className="execute-content-type"/>
|
className="execute-content-type"/>
|
||||||
</label>
|
</label> }
|
||||||
</div>
|
</div>
|
||||||
<div className="responses-inner">
|
<div className="responses-inner">
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user