Skip to content

Commit f2cbfd0

Browse files
committed
contentType prop not required
1 parent d96bd29 commit f2cbfd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/plugins/oas3/components/request-body.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RequestBody.propTypes = {
5050
getComponent: PropTypes.func.isRequired,
5151
getConfigs: PropTypes.func.isRequired,
5252
specSelectors: PropTypes.object.isRequired,
53-
contentType: PropTypes.string.isRequired,
53+
contentType: PropTypes.string,
5454
isExecute: PropTypes.bool.isRequired,
5555
onChange: PropTypes.func.isRequired
5656
}

0 commit comments

Comments
 (0)