fix: set default supportedSubmitMethods (#6030)
This commit is contained in:
@@ -91,3 +91,7 @@ SwaggerUI.propTypes = {
|
|||||||
defaultModelExpandDepth: PropTypes.number,
|
defaultModelExpandDepth: PropTypes.number,
|
||||||
plugins: PropTypes.arrayOf(PropTypes.object),
|
plugins: PropTypes.arrayOf(PropTypes.object),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SwaggerUI.defaultProps = {
|
||||||
|
supportedSubmitMethods: ['get', 'put', 'post', 'delete', 'options', 'head', 'patch', 'trace'],
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user