redoc/demo/index.html
2015-12-26 19:44:39 +02:00

28 lines
607 B
HTML

<!-- index.html -->
<html>
<head>
<title>ReDoc</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<nav>
<header> ReDoc </header>
<input id="schema-url-input" value='swagger.json'>
<button id="load-button"> Explore </button>
</nav>
</nav>
<redoc scroll-y-offset='50'>
Loading...
</redoc>
<!-- ReDoc built file with all dependencies included -->
<script src="dist/redoc.full.js"> </script>
<script src="main.js"> </script>
<script>
/* init redoc */
Redoc.init('swagger.json');
</script>
</body>
</html>