react-openapi

React component for viewing Open API specification

Usage no npm install needed!

<script type="module">
  import reactOpenapi from 'https://cdn.skypack.dev/react-openapi';
</script>

README

React component for viewing Open API specification

npm install react-openapi --save
import OpenAPI from 'react-openapi'
<OpenAPI {...apiDefinition}>

screenshot

Before npm publish run npm run build