Get a Stripe like API experience for your customers in minutes - documentation, rate-limiting and API-key auth with zuplo
Start free

Vanilla HTML

Just copy the below code and save it in an html file. Then open it using a browser (you do not need any server)
        <!doctype html> <!-- Important: must specify -->
            <meta charset="utf-8"> <!-- Important: rapi-doc uses utf8 characters -->
            <script type="module" src=""></script>
            <rapi-doc spec-url = ""> </rapi-doc>
If you do not want to depend on the CDN, just download it from there and store it in a place that you can access

In JavaScript Apps (integration with other frameworks)

Install RapiDoc

        npm install rapidoc
        // (feel free to use yarn)
You can now use the Web Components like any other HTML tag. (Just do an import for it to be recognized by the browser)

Usage in React
        import React, { Component } from 'react';
        import 'rapidoc'; // <-- import rapidoc

        export class MyApiDoc extends Component {
          render() {
            return <rapi-doc 
              spec-url = "" 
              render-style = "read"
              style = {{ height: "100vh", width: "100%" }}

Usage in Vue (Single File Component)
            spec-url = "" 
            render-style = "read" 
            style = "height:100vh; width:100%"
          > </rapi-doc>

          import 'rapidoc';