Files
threshold/website/components/openapi-page/partials/response-object/index.props.js
T

16 lines
568 B
JavaScript
Raw Normal View History

2020-10-09 16:26:32 -04:00
import PropTypes from 'prop-types'
import ResponseObject from '.'
function ResponseObjectProps(props) {
return <ResponseObject {...props} />
}
ResponseObjectProps.propTypes = {
/** [Response Object](https://swagger.io/specification/v2/#response-object) data. */
data: PropTypes.shape({
/** A [Schema Object](https://swagger.io/specification/v2/#schema-object) that describes the response. Note that we currently only support objects (with schema.properties) responses in the UI. */
schema: PropTypes.object,
}),
}
export default ResponseObjectProps