You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
boundary/website/components/openapi-page/partials/response-object/index.props.js

17 lines
568 B

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