* Add dependencies for openapi-page component * Add openapi-page component * Use openapi-page component for /api-docs page * add /api link to nav (#570) * website: remove superflous netlify config file * website: misc clean up website/readme - remove netlify badge - run through prettier markdown fmt * website: add /api docs to nav - adds /api-docs => /api rewrite - updates open-api component base api path to be /api - adds .html rewrite for good measure * Fix currentPath highlight issue in subnav * Clean up inline styles in operation-object * Remove React imports * Remove api-docs rewrite Co-authored-by: Kyle MacDonald <kylemac@users.noreply.github.com>
17 lines
568 B
JavaScript
17 lines
568 B
JavaScript
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
|