UNPKG

rapidoc

Version:

RapiDoc - Open API spec viewer with built in console

41 lines (40 loc) 1.35 kB
<!doctype html> <head> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-132775238-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-132775238-1'); </script> <script type="text/javascript" src="rapidoc-min.js"></script> <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"> <style> rapi-doc{ width:100%; } </style> </head> <body> <rapi-doc spec-url="https://api.apis.guru/v2/specs/bitbucket.org/2.0/swagger.json" heading-text="YouTube" > <!-- content at the top --> <div style="color:orangered"> <p>This is an example to add external html content</p> <p>You may add</p> <ul> <li> Table </li> <li> Text </li> <li> Images </li> <li> Links </li> <li> Buttons and other UI elements </li> </ul> <p>Scroll to bottom to see the footer content</p> </div> <!-- content at the bottom --> <p slot="footer" style="color:orangered" > This is an external html content </p> </rapi-doc> </body> </html>